Repo Added
|
Files
32
|
Badge
Embed ▾
README BADGES
|
push
travis-ci-com
Implement and test redlock() decorator This decorator forces the flow of control through a Redlock, allowing only one thread to execute the decorated function at a time. I’d previously implemented this `redlock()` decorator in my application here: https://github.com/brainix/spool/blob/8f659f0f9/spool/stooges.py#L39-L59 But I think that it’s generic and battle tested enough at this point to warrant inclusion in this library.
355 of 355 branches covered (100.0%)
Branch coverage included in aggregate %.
44 of 44 new or added lines in 5 files covered. (100.0%)
2823 of 2823 relevant lines covered (100.0%)
4.0 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|
Builds | Branch | Commit | Type | Ran | Committer | Via | Coverage |
---|---|---|---|---|---|---|---|
1419 | redlock-decorator | Implement and test redlock() decorator This decorator forces the flow of control through a Redlock, allowing only one thread to execute the decorated function at a time. I’d previously implemented this `redlock()` decorator in my applicati... | push | brainix | travis-ci-com | pending completion |