1
0

Lower rate limit

This commit is contained in:
dump_stack() 2023-05-11 20:42:12 +00:00
parent 96a6dd7fb9
commit 68ad89973c
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -14,7 +14,7 @@ import (
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
var Retries = 10