This commit is contained in:
Joshua Boniface 2018-06-17 02:29:28 -04:00
parent 837d134f4a
commit 9bfd63777d
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ update_zookeeper = this_node.update_zookeeper
# Create timer to update this node in Zookeeper
def createKeepaliveTimer():
interval = int(config['keepalive_interval'])
ansiiprint.echo('Starting keepalive timer ({} second intervals)'.format(interval), '', 'o')
ansiiprint.echo('Starting keepalive timer ({} second interval)'.format(interval), '', 'o')
update_timer = apscheduler.schedulers.background.BackgroundScheduler()
update_timer.add_job(update_zookeeper, 'interval', seconds=interval)
update_timer.start()