Skip to content

Commit

Permalink
[-] decrease dial keep-alive timeouts, closes #266
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Oct 30, 2024
1 parent 8aef662 commit afa37a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checker/etcd_leader_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ func NewEtcdLeaderChecker(conf *vipconfig.Config) (*EtcdLeaderChecker, error) {
cfg := clientv3.Config{
Endpoints: conf.Endpoints,
TLS: tlsConfig,
DialKeepAliveTimeout: 5 * time.Second,
DialKeepAliveTime: 5 * time.Second,
DialKeepAliveTimeout: time.Second,
DialKeepAliveTime: time.Second,
Username: conf.EtcdUser,
Password: conf.EtcdPassword,
}
Expand Down

0 comments on commit afa37a2

Please sign in to comment.