Adjust config names to per minute

This commit is contained in:
Ben Adrian Sarmiento
2024-07-12 14:22:49 +02:00
parent fbc431b82b
commit 7f38e0535f
3 changed files with 15 additions and 15 deletions

View File

@@ -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,