use PermitWithoutStream=true for etcd: send pings even without active streams
Signed-off-by: pacoxu <paco.xu@daocloud.io> Kubernetes-commit: 849dbe034b3e4398922c383e09900b464a60db69
This commit is contained in:
parent
c098244aa2
commit
6640c869f9
|
|
@ -154,6 +154,7 @@ func newETCD3Client(c storagebackend.TransportConfig) (*clientv3.Client, error)
|
||||||
DialTimeout: dialTimeout,
|
DialTimeout: dialTimeout,
|
||||||
DialKeepAliveTime: keepaliveTime,
|
DialKeepAliveTime: keepaliveTime,
|
||||||
DialKeepAliveTimeout: keepaliveTimeout,
|
DialKeepAliveTimeout: keepaliveTimeout,
|
||||||
|
PermitWithoutStream: true,
|
||||||
DialOptions: dialOptions,
|
DialOptions: dialOptions,
|
||||||
Endpoints: c.ServerList,
|
Endpoints: c.ServerList,
|
||||||
TLS: tlsConfig,
|
TLS: tlsConfig,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue