Skip to content

Commit

Permalink
Merge pull request #4 from joelhill/up-the-overall-timeout
Browse files Browse the repository at this point in the history
up the overall time out to 12 seconds
  • Loading branch information
Joel Hill authored Jan 5, 2019
2 parents 3aeeb9a + 198ea19 commit a894202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const (
userAgentHeader = "User-Agent"
contentLengthHeader = "Content-Length"
acceptHeader = "Accept"
requestTimeout = 8 * time.Second // the max amount of time for the entire request before failing
requestTimeout = 12 * time.Second // the max amount of time for the entire request before failing
sockTimeout = 2 * time.Second // the max amount of time attempting to make the tcp connection
tlsTimeout = 2 * time.Second // the max amount of time establishing TLS handshake
idleTimeout = 10 * time.Second // the amount of time to keep idle connections available before closing them
Expand Down

0 comments on commit a894202

Please sign in to comment.