Cleanup chart db 10 minutes after startup
This commit is contained in:
parent
3d1d5c1151
commit
ef7ee02f65
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ from ChartCollector import ChartCollector
|
|||
|
||||
if "db" not in locals().keys(): # Share on reloads
|
||||
db = ChartDb()
|
||||
gevent.spawn_later(10 * 60 * 60, db.archive)
|
||||
gevent.spawn_later(10 * 60, db.archive)
|
||||
helper.timer(60 * 60 * 6, db.archive)
|
||||
collector = ChartCollector(db)
|
||||
|
||||
|
|
Loading…
Reference in a new issue