Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Messenger] Update docs for keepalive support in doctrine messenger transport #20603

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1656,6 +1656,18 @@ The transport has a number of options:
duration. Otherwise, some messages will start a second time while the
first one is still being handled.

.. versionadded:: 7.3

The Doctrine transport now supports the **keepalive** feature, which prevents
messages from being prematurely redelivered during long-running processing.
This updates the ``delivered_at`` timestamp periodically to ensure the message
is marked as "in progress." Use the ``--keepalive`` option with Messenger commands
to enable this:

.. code-block:: terminal

php bin/console messenger:consume --keepalive=5

``auto_setup``
Whether the table should be created automatically during send / get.

Expand Down
Loading