Browse Source

Removed the timeout

Krzysztof Krysiński 6 days ago
parent
commit
3496be1072
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/PixiEditor.PixiAuth/PixiAuthClient.cs

+ 1 - 1
src/PixiEditor.PixiAuth/PixiAuthClient.cs

@@ -16,7 +16,7 @@ public class PixiAuthClient
     {
         httpClient = new HttpClient();
         httpClient.BaseAddress = new Uri(baseUrl);
-        httpClient.Timeout = TimeSpan.FromSeconds(30);
+        httpClient.Timeout = TimeSpan.FromSeconds(240);
         if (apiKey != null)
         {
             httpClient.DefaultRequestHeaders.Add("X-API-KEY", apiKey);