Reduce keep-alive to 30 seconds.

This commit is contained in:
FireMasterK 2021-04-09 14:20:14 +05:30
parent 916df915b3
commit 60eb517839
No known key found for this signature in database
GPG key ID: 8DFF5DD33E93DB58

View file

@ -30,7 +30,7 @@ var h2client = &http.Client{
TLSHandshakeTimeout: 10 * time.Second, TLSHandshakeTimeout: 10 * time.Second,
ResponseHeaderTimeout: 10 * time.Second, ResponseHeaderTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second, ExpectContinueTimeout: 1 * time.Second,
IdleConnTimeout: 120 * time.Second, IdleConnTimeout: 30 * time.Second,
}, },
} }