Skip to content

Commit

Permalink
fixup! fixup! fixup! fix: Delete inactive sessions in one query
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr committed Jun 21, 2023
1 parent eca3033 commit e4d4c3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/Db/SessionMapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ public function testDeleteInactiveWithoutSteps1010() {

self::assertCount(1010, $this->sessionMapper->findAll(1));

sleep(1);

\OC::$server->getDatabaseConnection()->beginTransaction();
$this->sessionMapper->deleteInactiveWithoutSteps(1);
\OC::$server->getDatabaseConnection()->commit();
Expand Down

0 comments on commit e4d4c3c

Please sign in to comment.