From b98a9d2e800133e32443cee1867ebfc187bf2a10 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sat, 16 Mar 2019 02:45:37 +0100 Subject: [PATCH] Commit before vacuum --- plugins/Chart/ChartDb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Chart/ChartDb.py b/plugins/Chart/ChartDb.py index 3747dca3..c31c27e8 100644 --- a/plugins/Chart/ChartDb.py +++ b/plugins/Chart/ChartDb.py @@ -130,4 +130,5 @@ class ChartDb(Db): {"date_added_limit": time.time() - 60 * 60 * 24 * 30 } ) if week_back > 1: + self.commit("vacuum") self.execute("VACUUM")