feat: set default limiter timeout to 100ms
This commit is contained in:
parent
204413af9e
commit
5270f2438c
@ -16,7 +16,7 @@ import (
|
||||
const apiURL = "https://snapshot.debian.org/mr"
|
||||
|
||||
var (
|
||||
limiterTimeout time.Duration = time.Second
|
||||
limiterTimeout time.Duration = time.Second / 10
|
||||
limiterBurst int = 3
|
||||
|
||||
Limiter = rate.NewLimiter(rate.Every(limiterTimeout), limiterBurst)
|
||||
|
Loading…
Reference in New Issue
Block a user