Ran
|
Files
32
|
Run time
2s
|
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.
412 of 412 branches covered (100.0%)
Branch coverage included in aggregate %.
2824 of 2824 relevant lines covered (100.0%)
1.0 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|