This commit is contained in:
Donald Zou
2025-12-02 14:00:53 +08:00
parent 66ffc12864
commit 4756556c82
2 changed files with 2 additions and 2 deletions

View File

@@ -97,4 +97,4 @@ class PeerJobLogger:
def vacuum(self):
with self.engine.begin() as conn:
if conn.dialect.name == 'sqlite':
conn.execute('VACUUM;')
conn.execute(db.text('VACUUM;'))