The Free Software Media System - Server Backend & API
update schedules direct timeouts
Luke Pulverenti2267a1712380
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.csindex e041b3a2a6..86815ae41e 100644--- a/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs+++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs@@ -126,7 +126,9 @@ namespace MediaBrowser.Server.Implementations.LiveTv.ListingsUrl = ApiUrl + "/programs",UserAgent = UserAgent,CancellationToken = cancellationToken,- LogErrorResponseBody = true+ LogErrorResponseBody = true,+ // The data can be large so give it some extra time+ TimeoutMs = 60000};httpOptions.RequestHeaders["token"] = token;@@ -463,7 +465,9 @@ namespace MediaBrowser.Server.Implementations.LiveTv.ListingsUserAgent = UserAgent,CancellationToken = cancellationToken,RequestContent = imageIdString,- LogErrorResponseBody = true+ LogErrorResponseBody = true,+ // The data can be large so give it some extra time+ TimeoutMs = 60000};List<ScheduleDirect.ShowImages> images;using (var innerResponse2 = await _httpClient.Post(httpOptions))