mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 06:50:40 +02:00
adjust http max idle connections per host
related to https://github.com/chrislusf/seaweedfs/issues/1802
This commit is contained in:
1 parent
0f426ce34d
commit
487e435679
6 files changed
+6
-1
No files matched your search
@@ -27,6 +27,7 @@ var (
|
||||
|
||||
func init() {
|
||||
client = &http.Client{Transport: &http.Transport{
|
||||
MaxIdleConns: 1024,
|
||||
MaxIdleConnsPerHost: 1024,
|
||||
}}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user