mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
feat: increase SquidWTF download service timeout to 5 minutes
- Download service was still using default 100s timeout - Large artist responses and slow endpoints were timing out - Now both MetadataService and DownloadService use 5 minute timeout - Fixes 'The request was canceled due to the configured HttpClient.Timeout of 100 seconds' errors
This commit is contained in:
@@ -78,6 +78,9 @@ public class SquidWTFDownloadService : BaseDownloadService
|
||||
_odesliService = odesliService;
|
||||
_fallbackHelper = new RoundRobinFallbackHelper(apiUrls, logger, "SquidWTF");
|
||||
_serviceProvider = serviceProvider;
|
||||
|
||||
// Increase timeout for large downloads and slow endpoints
|
||||
_httpClient.Timeout = TimeSpan.FromMinutes(5);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user