- π©πͺGermany dercheffe Sersheim, Germany
So would it be possible to stop queue processing when e.g. during my process() function a variable gets a specific value?
I want to achieve that a process only runs until e.g. 10 jobs in a queue are done successfully in one (cron) run. So I could use a kind of counter. - π©πͺGermany dercheffe Sersheim, Germany
Is there a workaround to suspend/stop processing a queue until the issue is fixed?
All I want to achieve is following:
If a variable has value x then don't process the queue during cron. Tried to do this with a preprocess event listener but don't know how to stop the queue processing.
- First commit to issue fork.
- last update
5 months ago Composer require failure I added a property to the Queue called 'suspended'. You can conditionally set this to suspended depending on your use-case. I think it's better to keep it separate from the Job result.
- last update
5 months ago Composer require failure I added a property to the JobResult for success and failure which will allow you to break from current processing. You can separately set the queue to suspended.
- Status changed to Needs review
5 months ago 8:05pm 1 February 2024 - last update
5 months ago Composer require failure - last update
5 months ago Composer require failure - last update
2 months ago Composer require failure - last update
2 months ago 19 pass - last update
2 months ago Composer require failure - last update
2 months ago 19 pass