Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up to #251792: Implement a locking framework for long operations, we want to us locks to prevent concurrant cron runs, rather than relying on Drupal variables which are potentially prone to race conditions due to caching.
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedFYI, the "fine grained cron" issue added semaphores for each module so that code can easily tell when its own cron was last run. Not yet committed AFAIK.
Comment #2
pwolanin CreditAttribution: pwolanin commented"cron last" should be different form the semaphore that tells you that cron is still running.
Comment #3
Berdir#805702: Cron should use locking framework has a patch, so setting this to duplicate even if it's older....