Skip to content

Commit

Permalink
[Messenger] Change the default notify timeout value for PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed May 28, 2020
1 parent 8b5dfb9 commit b841eab
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -25,11 +25,11 @@ final class PostgreSqlConnection extends Connection
/**
* * use_notify: Set to false to disable the use of LISTEN/NOTIFY. Default: true
* * check_delayed_interval: The interval to check for delayed messages, in milliseconds. Set to 0 to disable checks. Default: 1000
* * get_notify_timeout: The length of time to wait for a response when calling PDO::pgsqlGetNotify, in milliseconds. Default: 0.
* * get_notify_timeout: The length of time to wait for a response when calling PDO::pgsqlGetNotify, in milliseconds. Default: 600000 (10 minutes).
*/
protected const DEFAULT_OPTIONS = parent::DEFAULT_OPTIONS + [
'check_delayed_interval' => 1000,
'get_notify_timeout' => 0,
'get_notify_timeout' => 600000,
];

private $listening = false;
Expand Down

0 comments on commit b841eab

Please sign in to comment.