Skip to content

Commit 1f9919e

Browse files
committed
minor #20737 [Messenger] Add Beanstalkd's bury_on_reject option (HypeMC)
This PR was merged into the 7.3 branch. Discussion ---------- [Messenger] Add Beanstalkd's `bury_on_reject` option Closes #20633 Commits ------- 75d85bd [Messenger] Add Beanstalkd's `bury_on_reject` option
2 parents b529b65 + 75d85bd commit 1f9919e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

messenger.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,8 +1775,13 @@ The Beanstalkd transport DSN may looks like this:
17751775
17761776
The transport has a number of options:
17771777

1778-
``tube_name`` (default: ``default``)
1779-
Name of the queue
1778+
``bury_on_reject`` (default: ``false``)
1779+
When set to ``true``, rejected messages are placed into a "buried" state
1780+
in Beanstalkd instead of being deleted.
1781+
1782+
.. versionadded:: 7.3
1783+
1784+
The ``bury_on_reject`` option was introduced in Symfony 7.3.
17801785

17811786
``timeout`` (default: ``0``)
17821787
Message reservation timeout - in seconds. 0 will cause the server to
@@ -1786,6 +1791,9 @@ The transport has a number of options:
17861791
The message time to run before it is put back in the ready queue - in
17871792
seconds.
17881793

1794+
``tube_name`` (default: ``default``)
1795+
Name of the queue
1796+
17891797
The Beanstalkd transport supports the ``--keepalive`` option by using Beanstalkd's
17901798
``touch`` command to periodically reset the job's ``ttr``.
17911799

0 commit comments

Comments
 (0)