-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This refactors our redis lock class, to provide an abstract base class BaseRedisLock. It also refactors RedisLock, so that the acquire method is non-blocking by default and creates a new acquire_blocking method that provides a blocking acquire.
- Loading branch information
1 parent
5b665cc
commit 38f2fef
Showing
2 changed files
with
148 additions
and
104 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
Oops, something went wrong.