The documentation of rate.Limiter.WaitN function says that it blocks until 
lim permits n events to happen and that it returns an error if n exceeds 
the Limiter's burst size.
However the documentation of rate.Limiter type says that, as a special 
case, if rate limit is Inf, burst size is ignored.

What is the reason why WaitN does not ignore burst size when rate limit is 
Inf?


Thanks
Manlio

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to