From 9c563ca68b60a9ea5b3c705553e64b0eb64dff92 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 11 May 2023 20:43:29 +0000 Subject: [PATCH] Lower rate limit --- distro/debian/snapshot/mr/mr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distro/debian/snapshot/mr/mr.go b/distro/debian/snapshot/mr/mr.go index 6c408ee..53ce74e 100644 --- a/distro/debian/snapshot/mr/mr.go +++ b/distro/debian/snapshot/mr/mr.go @@ -14,7 +14,7 @@ import ( 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 var Retries = 10