mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-12-16 08:26:17 +00:00
Update
This commit is contained in:
@@ -92,4 +92,9 @@ class PeerJobLogger:
|
||||
(self.jobLogTable.c.JobID == JobID if JobID is not None else True),
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
def vacuum(self):
|
||||
with self.engine.begin() as conn:
|
||||
if conn.dialect.name == 'sqlite':
|
||||
conn.execute('VACUUM;')
|
||||
Reference in New Issue
Block a user