Skip to content

Commit

Permalink
modify defaultMaxLockRowCount to reduce deadlocks (#15472)
Browse files Browse the repository at this point in the history
modify defaultMaxLockRowCount to reduce deadlocks

Approved by: @zhangxu19830126, @sukki37
  • Loading branch information
iamlinjunhong committed Apr 11, 2024
1 parent 48512d7 commit e0d9dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lockservice/cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

var (
defaultLockListenAddress = "127.0.0.1:6003"
defaultMaxLockRowCount = 1024
defaultMaxLockRowCount = 1000000
defaultMaxFixedSliceSize = 1 << 20 // 1mb
defaultKeepRemoteLockDuration = time.Second
defaultKeepBindTimeout = time.Second * 10
Expand Down

0 comments on commit e0d9dad

Please sign in to comment.