Skip to content

Commit

Permalink
Increase a lot the timeout of the http requests
Browse files Browse the repository at this point in the history
The default value (100s) is too short to be able to post assets in github release.

octokit#963
  • Loading branch information
pmiossec committed Oct 11, 2017
1 parent 0f0a0dc commit 3769c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Octokit/Http/HttpClientAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public HttpClientAdapter(Func<HttpMessageHandler> getHandler)
Ensure.ArgumentNotNull(getHandler, "getHandler");

_http = new HttpClient(new RedirectHandler { InnerHandler = getHandler() });
_http.Timeout = TimeSpan.FromMinutes(30);
}

/// <summary>
Expand Down

0 comments on commit 3769c5b

Please sign in to comment.