Skip to content

Commit

Permalink
Added the missing keepalive option
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Feb 25, 2025
1 parent 3962a24 commit 3352f29
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1713,6 +1713,10 @@ The Beanstalkd transport DSN may looks like this:
The transport has a number of options:

``keepalive`` (default: none)
The amount of time, in seconds, the consumer can take to process the message
without considering it timed out.

``tube_name`` (default: ``default``)
Name of the queue

Expand All @@ -1726,7 +1730,7 @@ The transport has a number of options:

.. versionadded:: 7.2

Keepalive support, using the ``--keepalive`` option, was added in Symfony 7.2.
The ``keepalive`` option was introduced in Symfony 7.2.

.. _messenger-redis-transport:

Expand Down Expand Up @@ -1997,6 +2001,11 @@ The transport has a number of options:
``endpoint`` (default: ``https://sqs.eu-west-1.amazonaws.com``)
Absolute URL to the SQS service

``keepalive`` (default: none)
The minimum amount of time, in seconds, the message remains invisible to other
consumers so you can process it. It's useful to manage long-running tasks or
delay retries for a given message.

``poll_timeout`` (default: ``0.1``)
Wait for new message duration in seconds

Expand All @@ -2018,6 +2027,10 @@ The transport has a number of options:
``wait_time`` (default: ``20``)
`Long polling`_ duration in seconds

.. versionadded:: 7.2

The ``keepalive`` option was introduced in Symfony 7.2.

.. note::

The ``wait_time`` parameter defines the maximum duration Amazon SQS should
Expand Down Expand Up @@ -2050,10 +2063,6 @@ The transport has a number of options:
FIFO queues don't support setting a delay per message, a value of ``delay: 0``
is required in the retry strategy settings.

.. versionadded:: 7.2

Keepalive support, using the ``--keepalive`` option, was added in Symfony 7.2.

Serializing Messages
~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 3352f29

Please sign in to comment.