Commit 735f55e5 authored by catch's avatar catch

Issue #2319177 by swentel, fago: Fixed Cron lock time limit is too short and...

Issue #2319177 by swentel, fago: Fixed Cron lock time limit is too short and does not prevent multiple, concurrent cron runs.
parent 0f28b515
......@@ -121,7 +121,7 @@ public function run() {
$return = FALSE;
// Try to acquire cron lock.
if (!$this->lock->acquire('cron', 240.0)) {
if (!$this->lock->acquire('cron', 900.0)) {
// Cron is still running normally.
$this->logger->warning('Attempting to re-run cron while it is already running.');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment