Skip to content

Commit

Permalink
run VACUUM command to free disc space
Browse files Browse the repository at this point in the history
  • Loading branch information
David Albrecht committed Oct 8, 2019
1 parent 0ea1b56 commit 2ef2c3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Model/Table/RequestsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,8 @@ public function gc()

$statement = $query->execute();
$statement->closeCursor();

$conn = $this->getConnection();
$conn->execute('VACUUM;');
}
}

0 comments on commit 2ef2c3b

Please sign in to comment.