start periodic callback
This commit is contained in:
parent
d2abf860b9
commit
3602dde95b
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ def main(prefix='json/'):
|
|||
main = IOLoop.instance()
|
||||
|
||||
update_cb = PeriodicCallback(engine.update_async, 15*60*1000)
|
||||
update_cb.start()
|
||||
#main.spawn_callback(update, engine)
|
||||
|
||||
#fixme run periodically
|
||||
|
|
Loading…
Reference in a new issue