Skip to content

Commit 3352f29

Browse files
committed
Added the missing keepalive option
1 parent 3962a24 commit 3352f29

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

messenger.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,6 +1713,10 @@ The Beanstalkd transport DSN may looks like this:
17131713
17141714
The transport has a number of options:
17151715

1716+
``keepalive`` (default: none)
1717+
The amount of time, in seconds, the consumer can take to process the message
1718+
without considering it timed out.
1719+
17161720
``tube_name`` (default: ``default``)
17171721
Name of the queue
17181722

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

17271731
.. versionadded:: 7.2
17281732

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

17311735
.. _messenger-redis-transport:
17321736

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

2004+
``keepalive`` (default: none)
2005+
The minimum amount of time, in seconds, the message remains invisible to other
2006+
consumers so you can process it. It's useful to manage long-running tasks or
2007+
delay retries for a given message.
2008+
20002009
``poll_timeout`` (default: ``0.1``)
20012010
Wait for new message duration in seconds
20022011

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

2030+
.. versionadded:: 7.2
2031+
2032+
The ``keepalive`` option was introduced in Symfony 7.2.
2033+
20212034
.. note::
20222035

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

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

0 commit comments

Comments
 (0)