Skip to content

Instantly share code, notes, and snippets.

@jtwalters
Created July 21, 2014 20:00
Show Gist options
  • Save jtwalters/2ed11559282b19d019d3 to your computer and use it in GitHub Desktop.
Save jtwalters/2ed11559282b19d019d3 to your computer and use it in GitHub Desktop.
Suggested by mikeytown2 for faster Drupal DB
<?php
/**
* Suggested by mikeytown2 for faster DB
* @see https://www.drupal.org/node/1650930#comment-8437127
*/
/* -- Delete this line if you want to use this
$databases['default']['default']['init_commands'] = array(
'isolation' => "SET SESSION tx_isolation='READ-COMMITTED'"
);
// */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment