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
Xavier Thompson
neoppod
Commits
b181b08b
Commit
b181b08b
authored
Mar 01, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call closure callback when aborting.
parent
e394cb3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
neo/lib/connection.py
neo/lib/connection.py
+3
-0
neo/master/app.py
neo/master/app.py
+0
-2
No files found.
neo/lib/connection.py
View file @
b181b08b
...
...
@@ -480,6 +480,9 @@ class Connection(BaseConnection):
neo
.
lib
.
logging
.
debug
(
'aborting a connector for %r'
,
self
)
self
.
aborted
=
True
assert
self
.
write_buf
if
self
.
_on_close
is
not
None
:
self
.
_on_close
()
self
.
_on_close
=
None
def
writable
(
self
):
"""Called when self is writable."""
...
...
neo/master/app.py
View file @
b181b08b
...
...
@@ -406,8 +406,6 @@ class Application(object):
if
node
.
isMaster
():
continue
conn
=
node
.
getConnection
()
if
node
.
isClient
()
and
conn
.
isAborted
():
continue
node
.
notify
(
notification_packet
)
if
node
.
isClient
():
if
state
!=
ClusterStates
.
RUNNING
:
...
...
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