E4F2 [Messenger] Fix some syntax issue · symfony/symfony-docs@7c70485 · GitHub
[go: up one dir, main page]

Skip to content
  • Pricing
  • Search code, repositories, users, issues, pull requests...

    Provide feedback

    We read every piece of feedback, and take your input very seriously.

    Saved searches

    Use saved searches to filter your results more quickly

    Appearance settings

    Commit 7c70485

    Browse files
    committed
    [Messenger] Fix some syntax issue
    1 parent 9ba46bf commit 7c70485

    File tree

    1 file changed

    +10
    -13
    lines changed

    1 file changed

    +10
    -13
    lines changed

    messenger.rst

    Lines changed: 10 additions & 13 deletions
    Original file line numberDiff line numberDiff line change
    @@ -543,14 +543,19 @@ command with the ``--all`` option:
    543543

    544544
    The ``--all`` option was introduced in Symfony 7.1.
    545545

    546-
    The ``--keepalive`` option can be used to prevent messages from being prematurely
    547-
    redelivered during long-running processing. It marks the message as "in progress"
    548-
    and prevents it from being redelivered until the worker finishes processing it.
    546+
    Messages that take a long time to process may be redelivered prematurely because
    547+
    some transports assume that an unacknowledged message is lost. To prevent this
    548+
    issue, use the ``--keepalive`` command option to specify an interval (in seconds;
    549+
    default value = ``5``) at which the message is marked as "in progress". This prevents
    550+
    the message from being redelivered until the worker completes processing it:
    551+
    552+
    .. code-block:: terminal
    553+
    554+
    $ php bin/console messenger:consume --keepalive
    549555
    550556
    .. note::
    551557

    552-
    This option is only available for supported transports, which are
    553-
    the Beanstalkd and AmazonSQS transports.
    558+
    This option is only available for the following transports: Beanstalkd and AmazonSQS.
    554559

    555560
    .. versionadded:: 7.2
    556561

    @@ -1724,10 +1729,6 @@ The transport has a number of options:
    17241729
    The message time to run before it is put back in the ready queue - in
    17251730
    seconds.
    17261731

    1727-
    .. versionadded:: 7.2
    1728-
    1729-
    Keepalive support, using the ``--keepalive`` option, was added in Symfony 7.2.
    1730-
    17311732
    .. _messenger-redis-transport:
    17321733

    17331734
    Redis Transport
    @@ -2050,10 +2051,6 @@ The transport has a number of options:
    20502051
    FIFO queues don't support setting a delay per message, a value of ``delay: 0``
    20512052
    is required in the retry strategy settings.
    20522053

    2053-
    .. versionadded:: 7.2
    2054-
    2055-
    Keepalive support, using the `--keepalive` option, was added in Symfony 7.2.
    2056-
    20572054
    Serializing Messages
    20582055
    ~~~~~~~~~~~~~~~~~~~~
    20592056

    0 commit comments

    Comments
     (0)
    0