Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commit78eb1da

Browse files
committed
[Messenger] Keepalive support for Doctrine & Redis
1 parent50ba3b2 commit78eb1da

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

‎messenger.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ the message from being redelivered until the worker completes processing it:
555555
556556
..note::
557557

558-
This option is only available for the following transports: BeanstalkdandAmazonSQS.
558+
This option is only available for the following transports: Beanstalkd, AmazonSQS, DoctrineandRedis.
559559

560560
..versionadded::7.2
561561

@@ -1745,13 +1745,12 @@ in the table.
17451745
The length of time to wait for a response when calling
17461746
``PDO::pgsqlGetNotify``, in milliseconds.
17471747

1748-
The keepalive feature, which prevents messages from being prematurely redelivered during
1749-
long-running processing, updates the ``delivered_at`` timestamp periodically to ensure
1750-
the message is marked as "in progress".
1748+
The Doctrine transport supports the ``--keepalive`` option by periodically updating
1749+
the ``delivered_at`` timestamp to prevent the message from being redelivered.
17511750

17521751
..versionadded::7.3
17531752

1754-
Keepalive support, using the ``--keepalive`` option, was introduced in Symfony 7.3.
1753+
Keepalive support was introduced in Symfony 7.3.
17551754

17561755
Beanstalkd Transport
17571756
~~~~~~~~~~~~~~~~~~~~
@@ -1943,6 +1942,13 @@ under the transport in ``messenger.yaml``:
19431942
in your case) to avoid memory leaks. Otherwise, all messages will remain
19441943
forever in Redis.
19451944

1945+
The Redis transport supports the ``--keepalive`` option by using Redis's ``XCLAIM``
1946+
command to periodically reset the message's idle time to zero.
1947+
1948+
..versionadded::7.3
1949+
1950+
Keepalive support was introduced in Symfony 7.3.
1951+
19461952
In Memory Transport
19471953
~~~~~~~~~~~~~~~~~~~
19481954

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp