Improve handling of keepalive and message printing
This commit is contained in:
2
pvcd.py
2
pvcd.py
@ -119,7 +119,7 @@ update_zookeeper = this_node.update_zookeeper
|
||||
|
||||
# Create timer to update this node in Zookeeper
|
||||
update_timer = apscheduler.schedulers.background.BackgroundScheduler()
|
||||
update_timer.add_job(update_zookeeper, 'interval', seconds=2)
|
||||
update_timer.add_job(update_zookeeper, 'interval', seconds=5)
|
||||
update_timer.start()
|
||||
|
||||
# Tick loop
|
||||
|
Reference in New Issue
Block a user