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
1 changed files with 1 additions and 1 deletions

View File

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