mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 10:33:36 +08:00
adjust http max idle connections per host
related to https://github.com/chrislusf/seaweedfs/issues/1802
This commit is contained in:
@@ -29,6 +29,7 @@ var (
|
||||
|
||||
func init() {
|
||||
http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 1024
|
||||
http.DefaultTransport.(*http.Transport).MaxIdleConns = 1024
|
||||
}
|
||||
|
||||
func NewGrpcServer(opts ...grpc.ServerOption) *grpc.Server {
|
||||
|
Reference in New Issue
Block a user