diff --git a/config/config.go b/config/config.go index ddf6a37937b11..2b6d494e94a99 100644 --- a/config/config.go +++ b/config/config.go @@ -404,7 +404,7 @@ var defaultConf = Config{ Reporter: OpenTracingReporter{}, }, TiKVClient: TiKVClient{ - GrpcConnectionCount: 16, + GrpcConnectionCount: 4, GrpcKeepAliveTime: 10, GrpcKeepAliveTimeout: 3, CommitTimeout: "41s", diff --git a/config/config.toml.example b/config/config.toml.example index e98b19e14bcab..6c38768df569f 100644 --- a/config/config.toml.example +++ b/config/config.toml.example @@ -259,7 +259,7 @@ local-agent-host-port = "" [tikv-client] # Max gRPC connections that will be established with each tikv-server. -grpc-connection-count = 16 +grpc-connection-count = 4 # After a duration of this time in seconds if the client doesn't see any activity it pings # the server to see if the transport is still alive.