Skip to content

Commit

Permalink
[-] decrease dial keep-alive timeouts for etcd, closes #266 (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub authored Oct 30, 2024
1 parent 8aef662 commit e714054
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 e714054

Please sign in to comment.