mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Disable PDO persistence since we manage our own pool
This commit is contained in:
parent
5a5d43f3d0
commit
a7165e6a32
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ $register->set('pools', function () {
|
|||
return new PDOProxy(function () use ($dsnHost, $dsnPort, $dsnUser, $dsnPass, $dsnDatabase) {
|
||||
return new PDO("mysql:host={$dsnHost};port={$dsnPort};dbname={$dsnDatabase};charset=utf8mb4", $dsnUser, $dsnPass, array(
|
||||
PDO::ATTR_TIMEOUT => 3, // Seconds
|
||||
PDO::ATTR_PERSISTENT => true,
|
||||
PDO::ATTR_PERSISTENT => false,
|
||||
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
|
||||
PDO::ATTR_EMULATE_PREPARES => true,
|
||||
PDO::ATTR_STRINGIFY_FETCHES => true
|
||||
|
|
|
|||
Loading…
Reference in a new issue