start periodic callback

This commit is contained in:
j 2018-01-26 18:34:25 +01:00
parent d2abf860b9
commit 3602dde95b

View file

@ -100,6 +100,7 @@ def main(prefix='json/'):
main = IOLoop.instance() main = IOLoop.instance()
update_cb = PeriodicCallback(engine.update_async, 15*60*1000) update_cb = PeriodicCallback(engine.update_async, 15*60*1000)
update_cb.start()
#main.spawn_callback(update, engine) #main.spawn_callback(update, engine)
#fixme run periodically #fixme run periodically