Issue #2319177 by swentel, fago: Fixed Cron lock time limit is too short and does not prevent multiple, concurrent cron runs.
parent
0f28b515f8
commit
735f55e56b
|
@ -121,7 +121,7 @@ class Cron implements CronInterface {
|
|||
$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.');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue