Problem/Motivation
Default drupal cron lock acquire time id 900 seconds which is not sufficient for long running queue workers which requires more than 15 minutes of execution time.
Please refer core/lib/Drupal/Core/Cron.php file
$this->lock->acquire('cron', 900.0)
Steps to reproduce
Create a cron job to run using queue workers which requires more than 15 minutes of execution. After 15 minutes same job will be picked again for execution and previous execution terminates.
Proposed resolution
There should be way to increase this lock acquire timeout.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Comments
Comment #2
kawaljeet singh commentedCreating a patch to increase lock acquire time to 1800 seconds.
Comment #3
cilefen commentedThis is possibly a duplicate of #547998: Make cron time limit a variable. Can you verify?