try to avoid timeouts by increasing our default, and lower movie db concurrency

This commit is contained in:
Luke Pulverenti 2013-03-28 14:47:58 -04:00
parent d2401579da
commit 680200864f
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager
client = new HttpClient(handler);
client.DefaultRequestHeaders.Add("Accept", "application/json,image/*");
client.Timeout = TimeSpan.FromSeconds(15);
client.Timeout = TimeSpan.FromSeconds(30);
_httpClients.TryAdd(host, client);
}

View File

@ -37,7 +37,7 @@ namespace MediaBrowser.Controller.Providers.Movies
/// <summary>
/// The movie db
/// </summary>
internal readonly SemaphoreSlim MovieDbResourcePool = new SemaphoreSlim(5, 5);
internal readonly SemaphoreSlim MovieDbResourcePool = new SemaphoreSlim(4, 4);
internal static MovieDbProvider Current { get; private set; }