Increase ttfb timeout to 20 seconds.

This commit is contained in:
FireMasterK 2021-06-20 16:07:39 +05:30
parent 5cc0755b92
commit 6019c4efd1
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -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,