eaudeweb / recommended-project

Project template for Drupal 10 projects
http://drupal.org/project/drupal
0 stars 0 forks source link

Add READ-COMITTED to DB connection #11

Closed cristiroma closed 1 year ago

cristiroma commented 1 year ago

This cannot be added by default to settings.php, however we should add information in this project to remind developers to setup the READ-COMMITTED. The settings.php DB configuration should contain the following line:

$databases['default']['default'] = array (
  'init_commands' => ['isolation' => "SET SESSION tx_isolation='READ-COMMITTED'"],
  ...
);
  1. Update patches/append-example.settings.local.php.txt - to append the configuration
  2. Add a section in the main README.md - Project setup and describe this step
cristiroma commented 1 year ago

https://helpdesk.eaudeweb.ro/issues/13422

dtabirca commented 1 year ago

added

cristiroma commented 1 year ago

Needs patch updated

tv889 commented 1 year ago

Logged ticket https://helpdesk.eaudeweb.ro/issues/17035