From 4c7533cd185abeadced0f00d164991dfb1b65740 Mon Sep 17 00:00:00 2001 From: Bossett Date: Mon, 9 Sep 2024 20:34:41 +0000 Subject: [PATCH] reduce limit to handle rate limit errors --- src/env/limits.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env/limits.ts b/src/env/limits.ts index 0dad6c2..e2f155a 100644 --- a/src/env/limits.ts +++ b/src/env/limits.ts @@ -3,7 +3,7 @@ const limits = { // rate limiter for authed request PDS_LIMIT_MAX_CONCURRENT: 100, PDS_LIMIT_MAX_DELAY_MS: undefined, - PDS_LIMIT_MAX_RATE: 290, + PDS_LIMIT_MAX_RATE: 280, PDS_LIMIT_RATE_INTERVAL_MS: 30_000, // rate limiter for delete request DELETE_LIMIT_MAX_CONCURRENT: 256,