Skip to content

Conversation

@roblambell
Copy link

Deadlock detection can be disabled to improve performance and lock wait timeout relied on instead

https://dev.mysql.com/doc/refman/5.7/en/innodb-deadlock-detection.html

On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock. At times, it may be more efficient to disable deadlock detection and rely on the innodb_lock_wait_timeout setting for transaction rollback when a deadlock occurs. Deadlock detection can be disabled using the innodb_deadlock_detect configuration option.

@roblambell roblambell changed the title detect lock wait timeout as deadlock [5.4] detect lock wait timeout as deadlock Jun 24, 2017
@taylorotwell taylorotwell merged commit bc0f60b into laravel:5.4 Jun 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants