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

Commit

Permalink
Update tidb configuration (#932)
Browse files Browse the repository at this point in the history
* Update tidb configuration
  • Loading branch information
liubo0127 authored Sep 6, 2019
1 parent aea1da0 commit e141d73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions conf/tidb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,7 @@ binlog:

pessimistic_txn:
# enable pessimistic transaction.
# enable: false

# start pessimistic transaction by default.
# default: false
# enable: true

# max retry count for a statement in a pessimistic transaction.
# max-retry-count: 256
Expand Down
5 changes: 1 addition & 4 deletions roles/tidb/vars/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,7 @@ binlog:

pessimistic_txn:
# enable pessimistic transaction.
enable: false

# start pessimistic transaction by default.
default: false
enable: true

# max retry count for a statement in a pessimistic transaction.
max-retry-count: 256
Expand Down

0 comments on commit e141d73

Please sign in to comment.