Lower rate limit
This commit is contained in:
parent
2b0d7b0460
commit
9c563ca68b
@ -14,7 +14,7 @@ import (
|
|||||||
|
|
||||||
const apiURL = "https://snapshot.debian.org/mr"
|
const apiURL = "https://snapshot.debian.org/mr"
|
||||||
|
|
||||||
var Limiter = rate.NewLimiter(rate.Every(time.Second), 7)
|
var Limiter = rate.NewLimiter(rate.Every(time.Second), 3)
|
||||||
|
|
||||||
// Retries in case of 5xx errors
|
// Retries in case of 5xx errors
|
||||||
var Retries = 10
|
var Retries = 10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user