Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,6 @@ there are constraint violations:
)]
UploadedFile $document
.. versionadded:: 7.1

The ``#[MapUploadedFile]`` attribute was introduced in Symfony 7.1.
.. _controller_map-request-header:

Expand Down
15 changes: 15 additions & 0 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,21 @@ the message from being redelivered until the worker completes processing it:

This option is only available for the following transports: Beanstalkd, AmazonSQS, Doctrine and Redis.

By default, the worker fetches one message at a time from the transport. Use the
``--fetch-size`` option to fetch multiple messages per iteration, reducing the
number of round-trips to the transport:

.. code-block:: terminal

$ php bin/console messenger:consume async --fetch-size=8

This is especially useful with transports that support fetching multiple messages
in a single call, such as Amazon SQS, Redis, AMQP, Doctrine and Beanstalkd.

.. versionadded:: 8.1

The ``--fetch-size`` option was introduced in Symfony 8.1.

.. tip::

In a development environment and if you're using the Symfony CLI tool,
Expand Down
Loading