feat(legacy): persist database connections (#3186)
### Description Persist the database connection to reduce the load on Postgresql, and improve performances. https://www.php.net/manual/en/pdo.connections.php https://www.php.net/manual/en/pdo.constants.php#pdo.constants.attr-persistent
This commit is contained in:
parent
9d3a88093e
commit
14bb3e8889
@ -23,6 +23,9 @@ $conf = [
|
||||
'adapter' => 'pgsql',
|
||||
'connection' => [
|
||||
'dsn' => "pgsql:host={$dbhost};port={$dbport};dbname={$dbname};user={$dbuser};password={$dbpass}",
|
||||
'options' => [
|
||||
'ATTR_PERSISTENT' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
'default' => 'airtime',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user