Re: [go-nuts] Re: inconsistent behaviour of rate.Limiter.WaitN

2016-08-23 Thread Manlio Perillo
Thanks, done: https://github.com/golang/go/issues/16854 The issue does not follow the guidelines for contributing, since I think it does not apply for the sub-repositories. I hope it is ok. Manlio Il giorno martedì 23 agosto 2016 20:33:56 UTC+2, Matt Harden ha scritto: > > That looks like a b

Re: [go-nuts] Re: inconsistent behaviour of rate.Limiter.WaitN

2016-08-23 Thread Matt Harden
That looks like a bug. I'd suggest submitting an issue. I think the check at the beginning of WaitN should just be removed, as the burst limit will be accounted for in reserveN later. On Tue, Aug 23, 2016 at 6:32 AM Manlio Perillo wrote: > Il giorno martedì 23 agosto 2016 12:03:37 UTC+2, Sokolov

[go-nuts] Re: inconsistent behaviour of rate.Limiter.WaitN

2016-08-23 Thread Manlio Perillo
Il giorno martedì 23 agosto 2016 12:03:37 UTC+2, Sokolov Yura ha scritto: > > What is rate.Limiter ? golang.org/x/time/rate 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