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.
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user