Postponed (maintainer needs more info)
Project:
Advanced Queue
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2025 at 03:27 UTC
Updated:
6 Aug 2025 at 04:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
lawxen commentedComment #4
lawxen commentedBackup a patch for 8.x-1.4
Comment #5
alexpottI'm not sure this is necessary - if you really want to do that you could use the post process event and check the job state there. We don't have an onSuccess either.
I think we need more justification with a real example use-case that couldn't be solved with an event listener.
Comment #6
lawxen commentedBesides post process event, We can also check the job state on each job's process() function
We must recalculate if it's the real end failure. There won't be any problem with the regular count calculation. But on exception/failure the recalculation may cause some bugs in an extremely complex queue system if the code is not rigorous.
So we want to add an onFailure() function to avoid such risks and complexities.