More fix
This commit is contained in:
parent
549c4ac804
commit
177ec4f862
|
@ -99,7 +99,11 @@ class NodeInstance(threading.Thread):
|
||||||
self.flush()
|
self.flush()
|
||||||
|
|
||||||
def setup_remote_node(self):
|
def setup_remote_node(self):
|
||||||
pass
|
while True:
|
||||||
|
for x in range(0,100):
|
||||||
|
time.sleep(0.1)
|
||||||
|
if self.stop_thread.is_set():
|
||||||
|
return
|
||||||
|
|
||||||
@zk.DataWatch(self.zkey + '/state')
|
@zk.DataWatch(self.zkey + '/state')
|
||||||
def watch_state(data, stat):
|
def watch_state(data, stat):
|
||||||
|
|
Loading…
Reference in New Issue