This commit is contained in:
2023-08-16 14:30:39 +08:00
parent 9f51ff4659
commit b3759bfa53
+2 -2
View File
@@ -63,8 +63,8 @@ class DatabasesProviders extends Providers
'password' => $database['password'],
'tablePrefix' => $database['tablePrefix'],
'database' => $database['database'],
'connect_timeout' => $database['connect_timeout'] ?? 30,
'read_timeout' => $database['read_timeout'] ?? 10,
'connect_timeout' => $database['connect_timeout'] ?? 10,
'idle_time' => $database['idle_time'] ?? 300,
'pool' => $clientPool,
'attributes' => $database['attributes'] ?? [],
'charset' => $database['charset'] ?? 'utf8mb4',