Update zookeper once after starting keepalive timer
This commit is contained in:
parent
a5257e75b0
commit
fc0c07695b
|
@ -274,6 +274,7 @@ def stopKeepaliveTimer(update_timer):
|
|||
|
||||
# Start keepalive thread
|
||||
update_timer = createKeepaliveTimer()
|
||||
update_zookeeper()
|
||||
|
||||
# Tick loop
|
||||
while True:
|
||||
|
|
|
@ -263,6 +263,7 @@ def stopKeepaliveTimer(update_timer):
|
|||
|
||||
# Start keepalive thread
|
||||
update_timer = createKeepaliveTimer()
|
||||
update_zookeeper()
|
||||
|
||||
# Tick loop
|
||||
while True:
|
||||
|
|
Loading…
Reference in New Issue