This commit is contained in:
Joshua Boniface 2018-06-01 00:49:16 -04:00
parent 549c4ac804
commit 177ec4f862
1 changed files with 5 additions and 1 deletions

View File

@ -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):