Releases: dereuromark/cakephp-queue
3.14.1
Bugfixes
- Fix pid to not be int casted.
- Validation requirePresence('workerkey') added for processes
3.14.0
Improvements
- Removed deprecations, CakePHP 3.7+ now.
- Easier job adding from CLI by default.
- Added invisible way (/data/ instead of /edit/ in backend) to modify data payload for trivial cases.
- Processes (running workers) can also now be terminated from the web backend.
Multi CLI Server Support
You can now run multiple worker servers:
- Tracking server name per worker now - make sure you have either
env('SERVER_NAME')orgethostname()return a unique name per server instance. - Added better deploy window handling using
bin/cake queue endin the deployment script by shutting down active workers early. Either all (bin/cake queue end -q), or by server instance (bin/cake queue end server -q).
To migrate make sure you execute this once all workers have been terminated (no active processes):
bin/cake migrations migrate -p Queue
3.13.1
Bugfixes
- Limit the error output on the overview page.
- Config Queue.exitwhennothingtodo is not required anymore
3.13.0
Improvements
- getOrFail() usage where required/needed.
- FrozenTime() usage for better timezone handling
- Prevent config loading from file if Configure key
Queue.configLoadedis found. - Include processes status in
queue settingscommand to display currently running jobs. - Colorful (green) success messages in CLI
- Nullable improvements around DateTime
3.12.0
Improvements
- Consistent FrozenTime usage for datetime handling to prevent timezone issues (DB vs PHP) for delayed jobs.
- Improved updateProgress() to allow status update.
- Improve pending widget overview (include delay, progress and status)
- Allow delayed job execution to be tested from the admin backend.
- Include detailed stats per job type. Needs to be enabled via
isStatisticEnabledconfig.
3.11.0
Improvements
- Better isQueued() handling with optional job type
- CakePHP 3.6+, deprecations removed
- Phinx 0.10 compatibility
3.10.4
Bugfixes
- Fixed exclude lists for types or groups.
- Use date() around timestamp usage.
3.10.3
Bugfixes
Make sure that if a process gets stuck, e.g. in some exec() forever running code, that the crontab doesnt built up too many never-ending workers running and then killing the server.
Default: 120s*100 = 3.3h
So if you spawn new runners every 5 minutes via crontab cronjob setting, you get a total process count of 40 as the worse case scenario.
Via workertimeout config it can be manually adjusted to a custom value.
Make sure you adjust it to the longest possible running job * x seconds at least.
The previous 0 (forever) timeout on runners is not a recommended setting anymore.
3.10.2
Improvements
Allow filtering per type and group also with multiple values (comma separated). Allow also excluding using - prefix.
3.10.1
Improvements
- Allow runner to only fetch certain group or type.
- Search functionality can be disabled via
Queue.isSearchEnabledConfigure key. Otherwise auto-detect based on friendsofcake/search plugin being loaded decides this.