Cron lock time can be outrun by max execution time

Created on 28 January 2014, over 10 years ago
Updated 3 June 2024, 24 days ago

UPDATE (2015-10-29) ---- Original issue summary can be found in the revisions
------------

The cron lock time can be outrun by the max execution time.

A recent patch to the Drupal core β†’ enabled the possibility to have PHP scripts for a very long time, because the max_execution_time is not updated if it has been 0 before.

Still the hard coded value for the cron lock is 240 seconds. The problem with that is, that a cron, that runs over this amount of time is not cancelled, which is fine, of course, because some of them just take time.
That way a cron can be executed multiple times simultaneously which would trigger a lot of queue processing.

πŸ› Bug report
Status

Closed: outdated

Version

7.0 ⚰️

Component
CronΒ  β†’

Last updated 6 days ago

No maintainer
Created by

πŸ‡©πŸ‡ͺGermany func0der

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024