Skip to content

Commit

Permalink
Merge pull request #11336 from eileenmcnaughton/live
Browse files Browse the repository at this point in the history
CRM-21489 document new constant in civicrm.settings.php
  • Loading branch information
seamuslee001 authored Mar 28, 2018
2 parents 78d568f + 0ba4965 commit 83c9551
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/CRM/common/civicrm.settings.php.template
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,13 @@ if (!defined('CIVICRM_DB_CACHE_PREFIX')) {
// define('CIVICRM_GETTEXT_NATIVE', 1);
// }

/**
* Define how many times to retry a transaction when the DB hits a deadlock
* (ie. the database is locked by another transaction). This is an
* advanced setting intended for high-traffic databases & experienced developers/ admins.
*/
define('CIVICRM_DEADLOCK_RETRIES', 3);

/**
* Configure MySQL to throw more errors when encountering unusual SQL expressions.
*
Expand Down

0 comments on commit 83c9551

Please sign in to comment.