Commit 89250ec6 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos/collect: Call VACUUM to clean up the sql database size.

parent 567e92f9
......@@ -287,6 +287,7 @@ class Database:
if table not in self.preserve_table_list:
self._execute(delete_sql % (table, where_clause))
self._execute("VACUUM;")
self.commit()
self.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment