• Juan Batiz-Benet's avatar
    ratelimiter: fixing rate limiter use · 8a81975c
    Juan Batiz-Benet authored
    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))
    8a81975c
swarm_dial.go 14.3 KB