Increase ttfb timeout to 20 seconds.
This commit is contained in:
parent
5cc0755b92
commit
6019c4efd1
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -28,7 +28,7 @@ var h2client = &http.Client{
|
|||
KeepAlive: 30 * time.Second,
|
||||
}).Dial,
|
||||
TLSHandshakeTimeout: 10 * time.Second,
|
||||
ResponseHeaderTimeout: 10 * time.Second,
|
||||
ResponseHeaderTimeout: 20 * time.Second,
|
||||
ExpectContinueTimeout: 1 * time.Second,
|
||||
IdleConnTimeout: 30 * time.Second,
|
||||
ReadBufferSize: 16 * 1024,
|
||||
|
|
Loading…
Reference in a new issue