fatedier
|
3af7569d3a
add lock for getting burst
|
hace 5 años |
Obeyda Djeffal
|
89c76fbcd5
rate: fix documentation of Limiter.ReserveN()
|
hace 5 años |
Ziheng Liu
|
555d28b269
Add critical section to protect lim.limit
|
hace 6 años |
Eric Lagergren
|
6d3f0bb11b
rate: fix rounding error in tokensFromDuration
|
hace 6 años |
Simarpreet Singh
|
c4c64cad1f
rate: Add SetBurst() to dynamically update burst size
|
hace 6 años |
Brad Fitzpatrick
|
85acf8d295
rate: remove Go 1.6 support, use std context
|
hace 7 años |
Bob Potter
|
fbb02b2291
rate: avoid creating timer in WaitN if delay is zero
|
hace 7 años |
Brad Fitzpatrick
|
8be79e1e09
rate: restore Go 1.6 support
|
hace 8 años |
Brad Fitzpatrick
|
c06e80d930
rate: use standard library context package
|
hace 8 años |
Song Gao
|
f51c12702a
rate: change doc for ReserveN to reflect its signature
|
hace 9 años |
Sameer Ajmani
|
711ca1cb87
rate: ignore burst in WaitN when rate limit is Inf
|
hace 9 años |
Blake Mizerany
|
2bc1b4fbcc
rate: double reserveN perf by 2x
|
hace 9 años |
Sameer Ajmani
|
3d9bcec796
x/time/rate: provides a rate limiter.
|
hace 10 años |