aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3api_object_handlers.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-02-12 03:47:15 -0800
committerChris Lu <chris.lu@gmail.com>2021-02-12 03:47:15 -0800
commit487e435679d6c8cc153b8ef048b8957478cd3d0c (patch)
treec1263a119015632756960aa9e42e4b5cb3dc1eef /weed/s3api/s3api_object_handlers.go
parent0f426ce34d63deb6c8d4695c43a9e7c504e25005 (diff)
downloadseaweedfs-487e435679d6c8cc153b8ef048b8957478cd3d0c.tar.xz
seaweedfs-487e435679d6c8cc153b8ef048b8957478cd3d0c.zip
adjust http max idle connections per host
related to https://github.com/chrislusf/seaweedfs/issues/1802
Diffstat (limited to 'weed/s3api/s3api_object_handlers.go')
-rw-r--r--weed/s3api/s3api_object_handlers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.go
index 4c408110a..82f0de6b2 100644
--- a/weed/s3api/s3api_object_handlers.go
+++ b/weed/s3api/s3api_object_handlers.go
@@ -27,6 +27,7 @@ var (
func init() {
client = &http.Client{Transport: &http.Transport{
+ MaxIdleConns: 1024,
MaxIdleConnsPerHost: 1024,
}}
}