Reference comments
This commit is contained in:
parent
1d38b2ce6a
commit
cc93113934
3 changed files with 2 additions and 5378 deletions
|
@ -126,7 +126,6 @@ App::post('/v1/projects')
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$attributes = [];
|
$attributes = [];
|
||||||
$indexes = [];
|
$indexes = [];
|
||||||
|
|
||||||
|
|
|
@ -316,9 +316,8 @@ class DeletesV1 extends Worker
|
||||||
*/
|
*/
|
||||||
protected function deleteExpiredSessions(int $timestamp): void
|
protected function deleteExpiredSessions(int $timestamp): void
|
||||||
{
|
{
|
||||||
$this->deleteForProjectIds(
|
$this->deleteForProjectIds(function (string $projectId) use ($timestamp) {
|
||||||
function (string $projectId) use ($timestamp) {
|
$dbForProject = $this->getProjectDB($projectId);
|
||||||
$dbForProject = $this->getProjectDB($projectId);
|
|
||||||
// Delete Sessions
|
// Delete Sessions
|
||||||
$this->deleteByGroup('sessions', [
|
$this->deleteByGroup('sessions', [
|
||||||
new Query('expire', Query::TYPE_LESSER, [$timestamp])
|
new Query('expire', Query::TYPE_LESSER, [$timestamp])
|
||||||
|
|
5374
composer.lock
generated
5374
composer.lock
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue