Adjust config names to per minute
This commit is contained in:
@@ -81,7 +81,7 @@ func MainApp(configPath string) {
|
||||
}
|
||||
}
|
||||
|
||||
rateLimiter := http.NewRateLimiter(config.GetAPIRateLimitPerSecond())
|
||||
rateLimiter := http.NewRateLimiter(config.GetAPIRateLimitPerMinute())
|
||||
|
||||
apiClient := http.NewHTTPClient(
|
||||
config.GetToken(),
|
||||
@@ -127,7 +127,7 @@ func MainApp(configPath string) {
|
||||
}
|
||||
defer workerPool.Release()
|
||||
|
||||
torrentsRateLimiter := http.NewRateLimiter(config.GetTorrentsRateLimitPerSecond())
|
||||
torrentsRateLimiter := http.NewRateLimiter(config.GetTorrentsRateLimitPerMinute())
|
||||
|
||||
rd := realdebrid.NewRealDebrid(
|
||||
apiClient,
|
||||
|
||||
Reference in New Issue
Block a user