From c39e67faf3d4b72dba5ce8220b78a99941049d43 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Fri, 27 Oct 2023 12:06:58 +0200
Subject: [PATCH] fix(repology): set requests per second

---
 lib/config/presets/internal/workarounds.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/config/presets/internal/workarounds.ts b/lib/config/presets/internal/workarounds.ts
index 74a884851d..45ebbac3e6 100644
--- a/lib/config/presets/internal/workarounds.ts
+++ b/lib/config/presets/internal/workarounds.ts
@@ -139,11 +139,12 @@ export const presets: Record<string, Preset> = {
   },
   reduceRepologyServerLoad: {
     description:
-      'Limit concurrent requests to reduce load on Repology servers until we can fix this properly, see issue `#10133`.',
+      'Limit requests to reduce load on Repology servers until we can fix this properly, see issue `#10133`.',
     hostRules: [
       {
         concurrentRequestLimit: 1,
         matchHost: 'repology.org',
+        maxRequestsPerSecond: 0.5,
       },
     ],
   },
-- 
GitLab