From f59f265ad48515ca1a866eca094ccf691cc462c0 Mon Sep 17 00:00:00 2001 From: Josh Patra Date: Sun, 8 Feb 2026 00:02:21 -0500 Subject: [PATCH] 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 --- allstarr/Services/SquidWTF/SquidWTFDownloadService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/allstarr/Services/SquidWTF/SquidWTFDownloadService.cs b/allstarr/Services/SquidWTF/SquidWTFDownloadService.cs index bd227cc..4506ab7 100644 --- a/allstarr/Services/SquidWTF/SquidWTFDownloadService.cs +++ b/allstarr/Services/SquidWTF/SquidWTFDownloadService.cs @@ -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); }