Problem/Motivation
When you implement custom QueueWorker that throws DelayedRequeueException and use ultimate_cron to manage the queue your log will be filled with exception messages because ultimate_cron does not currently take notice of this new Exception.
See: https://www.drupal.org/project/drupal/issues/3116478
Steps to reproduce
- Install ultimate_cron
- Create custom QueueWorker that throws DelayedRequeueException
- Add some items to queue
- Run cron
- See logs
Proposed resolution
Implement catch for DelayedRequeueException as implemented here https://www.drupal.org/files/issues/2020-10-27/3116478-78--9.0.x.patch
Remaining tasks
- Proposals,
- Testing
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | ImplemenDelayedRequeueException.patch | 1.04 KB | oakulm |
| #2 | ImplemenDelayedRequeueException.patch | 1.04 KB | oakulm |
Comments
Comment #2
oakulm commentedHere is a patch for this
Comment #3
oakulm commentedComment #4
oakulm commentedSorry wrong diff in the previous comment, correct patch included.
Comment #6
berdirThanks, committed.