Lower rate limit
This commit is contained in:
parent
96a6dd7fb9
commit
68ad89973c
@ -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), 10)
|
var Limiter = rate.NewLimiter(rate.Every(time.Second), 7)
|
||||||
|
|
||||||
// Retries in case of 5xx errors
|
// Retries in case of 5xx errors
|
||||||
var Retries = 10
|
var Retries = 10
|
||||||
|
Loading…
Reference in New Issue
Block a user