Skip to content

Commit

Permalink
store/tikv: update max backoff. (pingcap#2746)
Browse files Browse the repository at this point in the history
  • Loading branch information
disksing authored Mar 1, 2017
1 parent 849ec6c commit a2a35c1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions store/tikv/backoff.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,17 @@ func (t backoffType) String() string {
const (
copBuildTaskMaxBackoff = 5000
tsoMaxBackoff = 5000
scannerNextMaxBackoff = 5000
batchGetMaxBackoff = 10000
copNextMaxBackoff = 10000
getMaxBackoff = 10000
prewriteMaxBackoff = 10000
commitMaxBackoff = 10000
scannerNextMaxBackoff = 15000
batchGetMaxBackoff = 15000
copNextMaxBackoff = 15000
getMaxBackoff = 15000
prewriteMaxBackoff = 15000
commitMaxBackoff = 15000
commitPrimaryMaxBackoff = -1
cleanupMaxBackoff = 10000
cleanupMaxBackoff = 15000
gcMaxBackoff = 100000
gcResolveLockMaxBackoff = 100000
rawkvMaxBackoff = 5000
rawkvMaxBackoff = 15000
)

// Backoffer is a utility for retrying queries.
Expand Down

0 comments on commit a2a35c1

Please sign in to comment.