Update global and API rate limits for improved performance
All checks were successful
renovate / renovate (push) Successful in 58s
CI / build (push) Successful in 59s

- Increased GlobalRateLimit from 500 to 2000 to better handle higher traffic.
- Raised APIRateLimit from 150 to 500 to enhance API responsiveness.
This commit is contained in:
2025-12-27 22:38:37 -06:00
parent 9fb84eb228
commit 7cd4c58927

View File

@@ -25,9 +25,9 @@ const (
HeavyDownloaderLimit = rate.Limit(256 * KB) // 256KB/s
// Rate Limiting
GlobalRateLimit = 500
GlobalRateLimit = 2000
GlobalRateWindow = 1 * time.Minute
APIRateLimit = 150
APIRateLimit = 500
APIRateWindow = 1 * time.Minute
)