File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -1096,6 +1096,29 @@ auto_setup Whether the table should be created
1096
1096
automatically during send / get. true
1097
1097
================== ===================================== ======================
1098
1098
1099
+ .. versionadded :: 5.1
1100
+
1101
+ The ability to leverage PostgreSQL's LISTEN/NOTIFY was introduced
1102
+ in Symfony 5.1
1103
+
1104
+ When using PostgreSQL, you have access to the following options
1105
+ to leverage the [LISTEN/NOTIFY](https://www.postgresql.org/docs/current/sql-notify.html)
1106
+ feature. This allow for a more performant approach than the default polling behaviour
1107
+ of the Doctrine transport because PostgreSQL will directly notify the workers when a
1108
+ new message is inserted in the table.
1109
+
1110
+ ======================= ===================================== ======================
1111
+ Option Description Default
1112
+ ======================= ===================================== ======================
1113
+ use_notify Whether to use LISTEN/NOTIFY. true
1114
+ check_delayed_interval The interval to check for delayed 1000
1115
+ messages, in milliseconds.
1116
+ Set to 0 to disable checks.
1117
+ get_notify_timeout The length of time to wait for a 0
1118
+ response when calling
1119
+ PDO::pgsqlGetNotify, in milliseconds.
1120
+ ======================= ===================================== ======================
1121
+
1099
1122
Beanstalkd Transport
1100
1123
~~~~~~~~~~~~~~~~~~~~
1101
1124
You can’t perform that action at this time.
0 commit comments