Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
a771b9f1
Commit
a771b9f1
authored
Apr 05, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4b02cadb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
neo/lib/node.py
neo/lib/node.py
+1
-1
neo/lib/protocol.py
neo/lib/protocol.py
+1
-1
neo/tests/threaded/__init__.py
neo/tests/threaded/__init__.py
+1
-1
No files found.
neo/lib/node.py
View file @
a771b9f1
...
...
@@ -494,7 +494,7 @@ class NodeManager(EventQueue):
map
(
Node
.
asTuple
,
self
.
_node_set
),
' * '
)))
self
.
logQueuedEvents
()
# node_type -> node_klass
#
{}
node_type -> node_klass
@
apply
def
NODE_TYPE_MAPPING
():
def
setmethod
(
cls
,
attr
,
value
):
...
...
neo/lib/protocol.py
View file @
a771b9f1
...
...
@@ -750,7 +750,7 @@ class NotifyPartitionTable(Packet):
class
PartitionChanges
(
Packet
):
"""
Notify a subset of a partition table. This is used to notify changes.
PM -> S, C.
XXX also -> A (see RecoveryManager)
PM -> S, C.
"""
_fmt
=
PStruct
(
'notify_partition_changes'
,
PPTID
(
'ptid'
),
...
...
neo/tests/threaded/__init__.py
View file @
a771b9f1
...
...
@@ -200,7 +200,7 @@ class Serialized(object):
with
cls
.
_busy_cond
:
while
cls
.
_busy
:
cls
.
_busy_cond
.
wait
()
for
app
in
check_timeout
:
# XXX hack
(?), used only in 1 place
for
app
in
check_timeout
:
# XXX hack
?, used only in 1 place (testBackupUpstreamStorageDead)
app
.
em
.
epoll
.
check_timeout
=
True
app
.
em
.
wakeup
()
del
app
...
...
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