Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iliya Manolov
neoppod
Commits
9c0a0c9e
Commit
9c0a0c9e
authored
Jun 24, 2015
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client: code cleanup
parent
cf413589
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
neo/client/app.py
neo/client/app.py
+0
-4
neo/client/pool.py
neo/client/pool.py
+7
-8
No files found.
neo/client/app.py
View file @
9c0a0c9e
...
...
@@ -115,10 +115,6 @@ class Application(object):
# _connecting_to_master_node is used to prevent simultaneous master
# node connection attemps
self
.
_connecting_to_master_node
=
Lock
()
# _nm ensure exclusive access to the node manager
lock
=
Lock
()
self
.
_nm_acquire
=
lock
.
acquire
self
.
_nm_release
=
lock
.
release
self
.
compress
=
compress
registerLiveDebugger
(
on_log
=
self
.
log
)
...
...
neo/client/pool.py
View file @
9c0a0c9e
...
...
@@ -123,10 +123,9 @@ class ConnectionPool(object):
cell_list
.
sort
(
key
=
self
.
getCellSortKey
)
for
cell
in
cell_list
:
node
=
cell
.
getNode
()
if
node
.
isRunning
():
conn
=
getConnForNode
(
node
)
if
conn
is
not
None
:
yield
(
node
,
conn
)
yield
node
,
conn
# Re-check if node is running, as our knowledge of its
# state can have changed during connection attempt.
elif
node
.
isRunning
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment