Skip to content

Commit

Permalink
ACMS-736: Fix local test failure by updating default setting patch (#784
Browse files Browse the repository at this point in the history
)
  • Loading branch information
chandan-singh7929 authored and kdruckman committed Apr 27, 2021
1 parent 35d84f1 commit 542801f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions patches/d9-acms-settings.patch
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ if (AcquiaDrupalEnvironmentDetector::isAhEnv()) {
require "/var/www/site-php/$ah_group/$safe_site_name-settings.inc";
}
// Temporary workaround to override the default MySQL wait_timeout setting.
$databases['default']['default']['init_commands'] = array(
'wait_timeout' => "SET SESSION wait_timeout=3600",
);
$default_settings['default']['default'] = [
'init_commands' => [
'wait_timeout' => "SET SESSION wait_timeout=3600",
],
];
$databases = array_merge_recursive($databases, $default_settings);
acquia_hosting_db_choose_active();
}
}
Expand Down

0 comments on commit 542801f

Please sign in to comment.