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 2 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 @@
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

bin/console messenger:consume --keepalive=5

Check failure on line 1669 in messenger.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

Please add "php" prefix before "bin/console"
silasjoisten marked this conversation as resolved.
Show resolved Hide resolved

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

Expand Down
Loading