Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: shirly <[email protected]>
  • Loading branch information
AndreMouche committed May 13, 2021
1 parent 88b6365 commit 23bb0cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions store/driver/backoff/backoff.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func NewBackofferWithVars(ctx context.Context, maxSleep int, vars *kv.Variables)
return &Backoffer{b: b}
}

// NewBackoffer creates a Backoffer with maximum sleep time(in ms).
func NewBackoffer(ctx context.Context, maxSleep int) *Backoffer {
b := tikv.NewBackoffer(ctx, maxSleep)
return &Backoffer{b: b}
Expand Down

0 comments on commit 23bb0cf

Please sign in to comment.