-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Unlock jobs when INT signal is handled.
We no longer are deleting jobs from the queue in the event of a job exception. If this behavior is desired, it should be defined in the Worker#handle_failure method. In the case our worker traps an INT signal and the job is not finished we will unlock it in the queue.
- Loading branch information
1 parent
28c8fe6
commit 7672451
Showing
2 changed files
with
22 additions
and
6 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