Skip to content

Commit

Permalink
defaults.go: Update ReadHeadersTimeout to 10 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
jentfoo committed Aug 10, 2023
1 parent 3f5b38b commit d252012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const (

// ReadHeadersTimeout is a default TCP timeout when we wait
// for the response headers to arrive
ReadHeadersTimeout = time.Second
ReadHeadersTimeout = 10 * time.Second

// DatabaseConnectTimeout is a timeout for connecting to a database via
// database access.
Expand Down

0 comments on commit d252012

Please sign in to comment.