Skip to content

[Messenger] Add caution message about messenger consume command and profiler #19462

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

Merged
merged 1 commit into from
Jan 29, 2024
Merged
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
8 changes: 8 additions & 0 deletions console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,14 @@ profile is accessible through the web page of the profiler.
terminal supports links). If you run it in debug verbosity (``-vvv``) you'll
also see the time and memory consumed by the command.

.. caution::

If you use Messenger component and want to profile the ``messenger:consume``
command please be aware that it will only create the profile only when
running with the ``--no-reset`` option. Moreover, you should consider using
the ``--limit`` option to only process one or few messages and let the command
finish on it's own. This can make the Performance tab of the profile more readable.

.. versionadded:: 6.4

The ``--profile`` option was introduced in Symfony 6.4.
Expand Down