Fixed #95 with HttpClient timeout to 240 seconds

This commit is contained in:
Assistant 2020-03-05 16:26:50 -07:00
parent b7bc73a1ff
commit b13b922c5f

View file

@ -22,7 +22,7 @@ namespace ModAssistant
_client = new HttpClient(handler) _client = new HttpClient(handler)
{ {
Timeout = TimeSpan.FromSeconds(30), Timeout = TimeSpan.FromSeconds(240),
}; };
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;