From 75d85bd6f082e700224c759ad27b33e2b6fe6e51 Mon Sep 17 00:00:00 2001 From: HypeMC Date: Sat, 8 Mar 2025 22:16:20 +0100 Subject: [PATCH] [Messenger] Add Beanstalkd's `bury_on_reject` option --- messenger.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/messenger.rst b/messenger.rst index 36b3cc58ad4..c5edca9e9ed 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1775,8 +1775,13 @@ The Beanstalkd transport DSN may looks like this: The transport has a number of options: -``tube_name`` (default: ``default``) - Name of the queue +``bury_on_reject`` (default: ``false``) + When set to ``true``, rejected messages are placed into a "buried" state + in Beanstalkd instead of being deleted. + + .. versionadded:: 7.3 + + The ``bury_on_reject`` option was introduced in Symfony 7.3. ``timeout`` (default: ``0``) Message reservation timeout - in seconds. 0 will cause the server to @@ -1786,6 +1791,9 @@ The transport has a number of options: The message time to run before it is put back in the ready queue - in seconds. +``tube_name`` (default: ``default``) + Name of the queue + The Beanstalkd transport supports the ``--keepalive`` option by using Beanstalkd's ``touch`` command to periodically reset the job's ``ttr``.