From 68ad89973c0b07a00d489d3f87e5e06dfc23630a Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 11 May 2023 20:42:12 +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 f08bb09..6c408ee 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), 10) +var Limiter = rate.NewLimiter(rate.Every(time.Second), 7) // Retries in case of 5xx errors var Retries = 10