Closed GRbit closed 9 months ago
Attention: 1 lines
in your changes are missing coverage. Please review.
Comparison is base (
b9fb5f6
) 83.00% compared to head (f9da9b2
) 83.00%.
Files | Patch % | Lines |
---|---|---|
locks.go | 83.33% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks for contributing!
Hi @mennanov !
Thank you very much for the great library, great Token Bucket and Leaky Bucket implementations!
I wan to suggest a little 100% backward compatible improvement to allow a better control on mutexes in Redis. By default redsync have a
delayFunc
which automatically unlocks mutex if it wasn't acquired in a few seconds. For my case of limiters usage I need to have more control on this.Feel free to ask me about any changes or change the code yourself the way you like.
I wish all the best, especially continued success in developing open-source projects!