1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-12 11:15:43 +02:00

Increased XBMC JSON API timeout to 10 seconds.

This commit is contained in:
Mark McDowall 2012-01-04 17:09:47 -08:00
parent 3dce784672
commit 62a24ef900

View File

@ -89,7 +89,7 @@ public virtual string PostCommand(string address, string username, string passwo
request.Method = "POST";
request.Credentials = new NetworkCredential(username, password);
request.ContentType = "application/json";
request.Timeout = 2000;
request.Timeout = 10000;
request.KeepAlive = false;
//Used to hold the JSON response