mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-10 10:54:12 +00:00
optimize ratings by caching
This commit is contained in:
parent
c61ebf2b53
commit
2b4111d4fd
3 changed files with 77 additions and 33 deletions
|
|
@ -121,7 +121,7 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager
|
|||
|
||||
if ((DateTime.UtcNow - client.LastTimeout).TotalSeconds < 30)
|
||||
{
|
||||
throw new HttpException(string.Format("Connection to {0} timed out", options.Url)) { IsTimedOut = true };
|
||||
throw new HttpException(string.Format("Cancelling connection to {0} due to a previous timeout.", options.Url)) { IsTimedOut = true };
|
||||
}
|
||||
|
||||
using (var message = GetHttpRequestMessage(options))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue