Skip to content

Commit 429a51d

Browse files
committed
fix(BackgroundJob): Set expire job intervals to 30 minutes
Signed-off-by: provokateurin <[email protected]>
1 parent ffcd9c0 commit 429a51d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€Žlib/BackgroundJob/ExpireGroupTrash.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(
2323
) {
2424
parent::__construct($timeFactory);
2525
// Run once per hour
26-
$this->setInterval(60 * 60);
26+
$this->setInterval(60 * 30);
2727
}
2828

2929
protected function run(mixed $argument): void {

β€Žlib/BackgroundJob/ExpireGroupVersions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(
2727
parent::__construct($time);
2828

2929
// Run once per hour
30-
$this->setInterval(60 * 60);
30+
$this->setInterval(60 * 30);
3131
// But don't run if still running
3232
$this->setAllowParallelRuns(false);
3333
}

0 commit comments

Comments
Β (0)