Install
Works with Drupal: ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
79.03 KB
MD5: 7338b20141fbfeee48c700fa74165686
SHA-1: d883a4dd8f0430ad6c931dcadf33869b1ef93e8c
SHA-256: 41c6e3e77fe9b48ea08589647a43a1ad9f4e6544d525a9019d2d29d53f51c021
Download zip
109.97 KB
MD5: 8334881f1367459f6270f6e3d6449f35
SHA-1: d050669be01280fcf0e1b5abd955ea730f74044f
SHA-256: e15b5b141fbec140fbddcd676e447df44a50ed0caa0349e2a29786167a1dccb8
Release notes
Changes since 1.0.1
- #3637114: The worker no longer kills running jobs at every schedule refresh. Jobs now run until they finish or reach
-job-timeout. Thanks to c_archer for the initial patch. - A refresh no longer runs a cron minute a second time, and no longer skips an interval boundary that passed while the schedule was being fetched.
- Jobs that are queued, or waiting for a dependency, still start after a refresh.
- Graceful shutdown: on SIGTERM or SIGINT, running jobs get
-shutdown-graceto finish. This is a new flag, 30s by default, where0waits as long as they take. Jobs still running after that get SIGTERM, then SIGKILL 10 seconds later. - A one-time job interrupted by a shutdown is not recorded as done, so it runs again after a restart.
- New per-job option "Allow overlapping runs", off by default. With it on, the next run starts even while the previous one is still running.
- The README covers refresh, overlap and shutdown behaviour. The systemd unit example now sets
KillMode=mixedandTimeoutStopSec. - Drupal 12 compatibility, from Project Update Bot.
- CI fixes: PHPStan, prettier and cspell.
Upgrade notes
- Run
drush updb. It adds theoverlapfield, and existing jobs keep the default: no overlap. - Rebuild and redeploy the worker binary.
- In existing systemd units, set
KillMode=mixedand aTimeoutStopSeclonger than-shutdown-grace.