Fix use_notify default value for PostgreSqlConnection

This commit is contained in:
Titouan Galopin 2021-07-08 19:33:14 +02:00 committed by GitHub
parent 3804ad3fd5
commit b2aad4f666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ final class PostgreSqlConnection extends Connection
* * get_notify_timeout: The length of time to wait for a response when calling PDO::pgsqlGetNotify, in milliseconds. Default: 0.
*/
protected const DEFAULT_OPTIONS = parent::DEFAULT_OPTIONS + [
'use_notify' => true,
'check_delayed_interval' => 60000,
'get_notify_timeout' => 0,
];