Ran
|
Files
32
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci-com
<a href="https://github.com/brainix/pottery/commit/<a class=hub.com/brainix/pottery/commit/7f06899adf9019fd4ea0486951a25b3b90110449">7f06899ad<a href="https://github.com/brainix/pottery/commit/7f06899adf9019fd4ea0486951a25b3b90110449">">Implement and test redlock() decorator (#303) This decorator forces the flow of control through a Redlock, allowing only one thread to execute the decorated function at a time. I&amp;rsquo;d previously implemented this `redlock()` decorator in my application here: https://github.com/brainix/spool/blob/</a><a class="double-link" href="https://github.com/brainix/pottery/commit/<a class="double-link" href="https://github.com/brainix/pottery/commit/8f659f0f94eaebe939fa4b5ae544706a556b8965">8f659f0f9</a>">8f659f0f9</a><a href="https://github.com/brainix/pottery/commit/7f06899adf9019fd4ea0486951a25b3b90110449">/spool/stooges.py#L39-L59 But I think that it&rsquo;s generic and battle tested enough at this point to warrant inclusion in this library.
401 of 401 branches covered (100.0%)
Branch coverage included in aggregate %.
2825 of 2825 relevant lines covered (100.0%)
1.0 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|