1
0

feat: change max rate limiter timeout to 2s

This commit is contained in:
dump_stack() 2023-05-28 20:36:20 +00:00
parent 5ec6873c57
commit 4db10c66dc
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ const apiURL = "http://metasnap.debian.net/cgi-bin/api?"
var (
limiterTimeout time.Duration = time.Second / 20
limiterMaxTimeout time.Duration = time.Second
limiterMaxTimeout time.Duration = time.Second * 2
limiterBurst int = 1
limiterUpdateDelay time.Duration = time.Second

View File

@ -17,7 +17,7 @@ const apiURL = "https://snapshot.debian.org/mr"
var (
limiterTimeout time.Duration = time.Second / 20
limiterMaxTimeout time.Duration = time.Second
limiterMaxTimeout time.Duration = time.Second * 2
limiterBurst int = 1
limiterUpdateDelay time.Duration = time.Second