diff --git a/Infrastructure/Helper/HttpHelper.cs b/Infrastructure/Helper/HttpHelper.cs index f9c042c38e7e6ce28b4e7748017cbb4de6a52c12..e7193f819e28f1c85572f5774767a9beb78ab71e 100644 --- a/Infrastructure/Helper/HttpHelper.cs +++ b/Infrastructure/Helper/HttpHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Net.Http; using System.Text; @@ -21,7 +21,8 @@ namespace Infrastructure { postData = postData ?? ""; using (HttpClient client = new HttpClient()) - { + { + client.Timeout = new TimeSpan(0, 0, timeOut); if (headers != null) { foreach (var header in headers)