From ef7ee02f656e4267af3a5054aeb59a98792f9f1a Mon Sep 17 00:00:00 2001 From: shortcutme Date: Tue, 4 Dec 2018 14:16:22 +0100 Subject: [PATCH] Cleanup chart db 10 minutes after startup --- plugins/Chart/ChartPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Chart/ChartPlugin.py b/plugins/Chart/ChartPlugin.py index ae606ce8..a491618b 100644 --- a/plugins/Chart/ChartPlugin.py +++ b/plugins/Chart/ChartPlugin.py @@ -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)