From 9fb84eb228ffb46f6132c7dc8071b8cf9071bb0b Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Sat, 27 Dec 2025 22:38:27 -0600 Subject: [PATCH] Update global and API rate limits for enhanced performance - Increased GlobalRateLimit from 100 to 500 to accommodate higher traffic. - Raised APIRateLimit from 30 to 150 to improve API responsiveness and user experience. --- internal/security/constants.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/security/constants.go b/internal/security/constants.go index f98ec27..0a58728 100644 --- a/internal/security/constants.go +++ b/internal/security/constants.go @@ -25,9 +25,9 @@ const ( HeavyDownloaderLimit = rate.Limit(256 * KB) // 256KB/s // Rate Limiting - GlobalRateLimit = 100 + GlobalRateLimit = 500 GlobalRateWindow = 1 * time.Minute - APIRateLimit = 30 + APIRateLimit = 150 APIRateWindow = 1 * time.Minute )