From 78399a24b4703511d4a231d01cbffcdef1553618 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 18 Jun 2025 18:58:45 +0200 Subject: [PATCH] workflows/labels: lower API calls reservoir to 500 First data shows, that we're unlikely to need more than 250 within an hour of regular activity. Once this is empty, we'll need to wait until the next hourly refill - thus, we'll rather set this a bit higher to be on the safe side. The hourly limit is at 5000 and we peaked around 3500, so far. We'll certainly have to look into reducing API calls, but this should still work out for now. (cherry picked from commit 8e1f8692618c82a3b5c42d46b41c75b066810e66) --- .github/workflows/labels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 13dc4d0d7c18..1be1a91cf981 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -72,8 +72,8 @@ jobs: maxConcurrent: 1, // Hourly limit is at 5000, but other jobs need some, too! // https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api - reservoir: 1000, - reservoirRefreshAmount: 1000, + reservoir: 500, + reservoirRefreshAmount: 500, reservoirRefreshInterval: 60 * 60 * 1000 }) // Pause between mutative requests