Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

increase max idle conn per hosts

Chris Lu967e108b9a33
diff --git a/weed/util/grpc_client_server.go b/weed/util/grpc_client_server.go
index c35a139708..a2407eb137 100644
--- a/weed/util/grpc_client_server.go
+++ b/weed/util/grpc_client_server.go
@@ -20,7 +20,7 @@ var (
)
func init() {
- http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 100
+ http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 1024
}
func NewGrpcServer(opts ...grpc.ServerOption) *grpc.Server {