mirror of
https://github.com/Radarr/Radarr
synced 2024-12-24 17:01:38 +00:00
Increased XBMC JSON API timeout to 10 seconds.
This commit is contained in:
parent
3dce784672
commit
62a24ef900
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ public virtual string PostCommand(string address, string username, string passwo
|
||||||
request.Method = "POST";
|
request.Method = "POST";
|
||||||
request.Credentials = new NetworkCredential(username, password);
|
request.Credentials = new NetworkCredential(username, password);
|
||||||
request.ContentType = "application/json";
|
request.ContentType = "application/json";
|
||||||
request.Timeout = 2000;
|
request.Timeout = 10000;
|
||||||
request.KeepAlive = false;
|
request.KeepAlive = false;
|
||||||
|
|
||||||
//Used to hold the JSON response
|
//Used to hold the JSON response
|
||||||
|
|
Loading…
Reference in a new issue