-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(job-queue-plugin): Implement cancellation mechanism
Relates to #1127, relates to #2650. This commit adds a mechanism to track cancellation of jobs in Redis using pub/sub on a custom set which tracks the IDs which have been cancelled. The job process functions will still continue to execute unless there is specific logic to check the job state and throw an error on cancellation.
- Loading branch information
1 parent
6860b43
commit d0e97ca
Showing
2 changed files
with
90 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters