mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-29 01:55:25 +00:00
optimize ratings by caching
This commit is contained in:
1 parent
c61ebf2b53
commit
2b4111d4fd
3 files changed
+77
-33
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user