-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always run unlock script completely even when cancelled or failed (#7)
* Always run the lock/unlock scripts completely This will avoid leaving the lock in an unexpected state * remove undocumented `if` * Add test for unlocking even in failure * Instead of only popping, also unqueue on unlock * Remove default post-if * Change call of retry to new name unqueue * Ignore blank lines * Prefer dequeue over unqueue * Swap lock check during dequeue
- Loading branch information
Showing
3 changed files
with
49 additions
and
16 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
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