mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Use persistent connections with PostgreSQL
This commit is contained in:
parent
913cf71620
commit
35d46d2913
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class PDODriver extends Driver {
|
|||
$dsn = $this->makeconnectionString(true, $user, $pass, $db, $host, $port, $service);
|
||||
$this->db = new \PDO("pgsql:$dsn", $user, $pass, [
|
||||
\PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION,
|
||||
//\PDO::ATTR_PERSISTENT => true,
|
||||
\PDO::ATTR_PERSISTENT => true,
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue