feat: add MySQL connection configuration

This commit is contained in:
Rico
2026-01-11 23:45:09 +01:00
parent e424d04aec
commit 7651e99f26

View File

@@ -7,4 +7,14 @@ return [
'update_date_on_publish' => false, // disable to preserve original behavior for existing applications
],
'connections' => [
'mysql' => [
'options' => extension_loaded('pdo_mysql') ? [
PDO::ATTR_TIMEOUT => 15,
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true,
] : [],
'sticky' => true,
],
],
];