Skip to content

Commit

Permalink
config AutoSyncInterval to etcd client (#11996)
Browse files Browse the repository at this point in the history
close #11997
  • Loading branch information
lidezhu authored Jan 14, 2025
1 parent dec6591 commit 5b4b44e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/etcd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ func newClient(tlsConfig *tls.Config, grpcDialOption grpc.DialOption, endpoints
TLS: tlsConfig,
LogConfig: &logConfig,
DialTimeout: defaultEtcdClientTimeout,
AutoSyncInterval: 30 * time.Second,
DialKeepAliveTime: defaultDialKeepAliveTime,
DialKeepAliveTimeout: defaultDialKeepAliveTimeout,
DialOptions: []grpc.DialOption{
Expand Down

0 comments on commit 5b4b44e

Please sign in to comment.