mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-20 18:07:59 +02:00
Increase MaxIdleConnsPerHost
This commit is contained in:
parent
9dde306c0c
commit
1ad71f6974
@ -24,6 +24,9 @@ var (
|
||||
const defaultClientTimeout = 5 * time.Second
|
||||
|
||||
var defaultHTTPClient = &http.Client{
|
||||
Transport: &http.Transport{
|
||||
MaxIdleConnsPerHost: 10,
|
||||
},
|
||||
Timeout: defaultClientTimeout,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user