Cleanup chart db 10 minutes after startup

This commit is contained in:
shortcutme 2018-12-04 14:16:22 +01:00
parent 3d1d5c1151
commit ef7ee02f65
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -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)