mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 06:47:53 +08:00
adjust http max idle connections per host
related to https://github.com/chrislusf/seaweedfs/issues/1802
This commit is contained in:
@@ -58,6 +58,7 @@ var (
|
||||
|
||||
func init() {
|
||||
HttpClient = &http.Client{Transport: &http.Transport{
|
||||
MaxIdleConns: 1024,
|
||||
MaxIdleConnsPerHost: 1024,
|
||||
}}
|
||||
}
|
||||
|
Reference in New Issue
Block a user