Skip to content

Commit a4a026e

Browse files
committed
Add --keepalive option for Beanstalkd transport
1 parent 1254654 commit a4a026e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

messenger.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,19 @@ command with the ``--all`` option:
543543

544544
The ``--all`` option was introduced in Symfony 7.1.
545545

546+
The ``--keepalive`` option can be used to prevent messages from being prematurely
547+
redelivered during long-running processing. This updates the ``delivered_at``
548+
timestamp periodically to ensure the message is marked as "in progress":
549+
550+
.. note::
551+
552+
This option is only available for transports that support it. Currently, only
553+
the Beanstalkd transport supports this option.
554+
555+
.. versionadded:: 7.2
556+
557+
The ``--keepalive`` option was introduced in Symfony 7.2.
558+
546559
.. tip::
547560

548561
In a development environment and if you're using the Symfony CLI tool,
@@ -1709,6 +1722,10 @@ The transport has a number of options:
17091722
The message time to run before it is put back in the ready queue - in
17101723
seconds.
17111724

1725+
.. versionadded:: 7.2
1726+
1727+
Keepalive support, using the `--keepalive` option, was added in Symfony 7.2.
1728+
17121729
.. _messenger-redis-transport:
17131730

17141731
Redis Transport

0 commit comments

Comments
 (0)