tw: don't clean up tables in transaction

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/888/head
Varun Patil 2023-10-22 12:32:05 -07:00
parent f8f9ce7b4a
commit 4d19451471
1 changed files with 0 additions and 6 deletions

View File

@ -226,9 +226,6 @@ class TimelineWrite
*/
public function cleanupStale(): void
{
// Begin transaction
$this->connection->beginTransaction();
// Delete all stale records
foreach (DELETE_TABLES as $table) {
$query = $this->connection->getQueryBuilder();
@ -245,9 +242,6 @@ class TimelineWrite
->executeStatement()
;
}
// Commit transaction
$this->connection->commit();
}
/**