Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer committed Sep 17, 2020
1 parent 2614e47 commit 607de53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backup/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ backupLoop:
// current tikv is unavailable
log.Warn("current tikv is not available, reset the connection",
zap.Uint64("storeID", storeID), zap.Int("retry time", retry))
time.Sleep(time.Duration(retry + 1) * time.Second)
time.Sleep(time.Duration(retry+1) * time.Second)
client, err = resetFn()
if err != nil {
log.Error("reset the connection failed, please check the tikv status",
Expand Down

0 comments on commit 607de53

Please sign in to comment.