-
ratelimiter: fixing rate limiter use · 91a79bc2
Use of the ratelimiter should be conscious of the ratelimiter's potential closing. any loops that add work to ratelimiter should (a) only do so if the rate limiter is not closed, or (b) prevent limiter while work is added (i.e. use limiter.Go(addWorkHere))
由 Juan Batiz-Benet 提交于91a79bc2
×