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
|
# Start keepalive thread
|
||||||
update_timer = createKeepaliveTimer()
|
update_timer = createKeepaliveTimer()
|
||||||
|
update_zookeeper()
|
||||||
|
|
||||||
# Tick loop
|
# Tick loop
|
||||||
while True:
|
while True:
|
||||||
|
|
|
@ -263,6 +263,7 @@ def stopKeepaliveTimer(update_timer):
|
||||||
|
|
||||||
# Start keepalive thread
|
# Start keepalive thread
|
||||||
update_timer = createKeepaliveTimer()
|
update_timer = createKeepaliveTimer()
|
||||||
|
update_zookeeper()
|
||||||
|
|
||||||
# Tick loop
|
# Tick loop
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue