fix nodes shutdown
This commit is contained in:
parent
afbb4e638f
commit
7e40c2667b
1 changed files with 4 additions and 3 deletions
|
@ -479,9 +479,10 @@ class Nodes(Thread):
|
||||||
return
|
return
|
||||||
self._pulling = True
|
self._pulling = True
|
||||||
for node in list(self._nodes.values()):
|
for node in list(self._nodes.values()):
|
||||||
node.online = node.can_connect()
|
if self._running:
|
||||||
if node.online:
|
node.online = node.can_connect()
|
||||||
node.pullChanges()
|
if node.online:
|
||||||
|
node.pullChanges()
|
||||||
self._pulling = False
|
self._pulling = False
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
Loading…
Reference in a new issue