Skip to content

Commit

Permalink
config AutoSyncInterval to etcd client (#11996) (#11998)
Browse files Browse the repository at this point in the history
close #11997
  • Loading branch information
ti-chi-bot authored Jan 14, 2025
1 parent c3dc8ef commit e6be63f
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 @@ -358,6 +358,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 e6be63f

Please sign in to comment.