File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -545,12 +545,16 @@ command with the ``--all`` option:
545545
546546The ``--keepalive `` option can be used to prevent messages from being prematurely
547547redelivered during long-running processing. It marks the message as "in progress"
548- and prevents it from being redelivered until the worker finishes processing it.
548+ and prevents it from being redelivered until the worker finishes processing it:
549+
550+ .. code-block :: terminal
551+
552+ php bin/console messenger:consume --keepalive=5
549553
550554 .. note ::
551555
552556 This option is only available for supported transports, which are
553- the Beanstalkd and AmazonSQS transports.
557+ the Doctrine, Beanstalkd and AmazonSQS transports.
554558
555559.. versionadded :: 7.2
556560
@@ -1689,6 +1693,14 @@ in the table.
16891693 The length of time to wait for a response when calling
16901694 ``PDO::pgsqlGetNotify ``, in milliseconds.
16911695
1696+ The keepalive feature, which prevents messages from being prematurely redelivered during
1697+ long-running processing, updates the ``delivered_at `` timestamp periodically to ensure
1698+ the message is marked as "in progress".
1699+
1700+ .. versionadded :: 7.3
1701+
1702+ Keepalive support, using the ``--keepalive `` option, was added in Symfony 7.3.
1703+
16921704Beanstalkd Transport
16931705~~~~~~~~~~~~~~~~~~~~
16941706
You can’t perform that action at this time.
0 commit comments