Update global and API rate limits for improved performance
- 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:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user