diff --git a/lib/BackgroundJob/ExpireGroupTrash.php b/lib/BackgroundJob/ExpireGroupTrash.php index f42b06e2b..c6b650fd4 100644 --- a/lib/BackgroundJob/ExpireGroupTrash.php +++ b/lib/BackgroundJob/ExpireGroupTrash.php @@ -22,8 +22,8 @@ public function __construct( ITimeFactory $timeFactory, ) { parent::__construct($timeFactory); - // Run once per hour - $this->setInterval(60 * 60); + // Run every 30 minutes + $this->setInterval(60 * 30); } protected function run(mixed $argument): void { diff --git a/lib/BackgroundJob/ExpireGroupVersions.php b/lib/BackgroundJob/ExpireGroupVersions.php index 96c7461f1..8021eee67 100644 --- a/lib/BackgroundJob/ExpireGroupVersions.php +++ b/lib/BackgroundJob/ExpireGroupVersions.php @@ -26,8 +26,8 @@ public function __construct( ) { parent::__construct($time); - // Run once per hour - $this->setInterval(60 * 60); + // Run every 30 minutes + $this->setInterval(60 * 30); // But don't run if still running $this->setAllowParallelRuns(false); }