forked from TrueCloudLab/frostfs-qos
Previously, `Acquire` on exising key did 1 allocation because `func() { sem.Release() }` was a closure capturing different variables. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com> |
||
---|---|---|
.. | ||
semaphore | ||
limiter.go | ||
limiter_test.go |