mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2026-02-04 03:33:13 +01:00
feat: add MySQL connection configuration
This commit is contained in:
@@ -7,4 +7,14 @@ return [
|
|||||||
'update_date_on_publish' => false, // disable to preserve original behavior for existing applications
|
'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,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user