Skip to content

Commit

Permalink
recovery: fix the time of retrying
Browse files Browse the repository at this point in the history
Signed-off-by: hillium <yujuncen@pingcap.com>
  • Loading branch information
YuJuncen committed Aug 17, 2023
1 parent ea5ce0f commit 0c4e9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/restore/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type recoveryBackoffer struct {

func newRecoveryBackoffer() *recoveryBackoffer {
return &recoveryBackoffer{
state: utils.InitialRetryState(16, 0, 0),
state: utils.InitialRetryState(16, 30*time.Second, 4*time.Minute),
}
}

Expand Down

0 comments on commit 0c4e9d8

Please sign in to comment.