Skip to content

Commit

Permalink
decrease retry attemps for sync etcd config
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Dec 17, 2024
1 parent 7429cb8 commit 75ffbf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/component/controller/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ func (e *Etcd) syncEtcdConfig(ctx context.Context, etcdRequest v1beta1.EtcdReque
return err
},
// When joining multiple nodes in parallel, etcd can lose consensus and will return 500 responses
// Allow for more time to recover (~ 15 minutes)
retry.Attempts(20),
// Allow for more time to recover (~ 4 minutes = 0+1+2+4+8+16+32+60+60+60)
retry.Attempts(10),
retry.Delay(1*time.Second),
retry.MaxDelay(60*time.Second),
retry.Context(ctx),
Expand Down

0 comments on commit 75ffbf7

Please sign in to comment.