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

Commit646e199

Browse files
MrYamousjaviereguiluz
authored andcommitted
[Messenger] DocumentgetRetryDelay()
1 parent577b39f commit646e199

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎messenger.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,13 @@ and must be retried. If you throw
11341134
:class:`Symfony\\Component\\Messenger\\Exception\\RecoverableMessageHandlingException`,
11351135
the message will always be retried infinitely and ``max_retries`` setting will be ignored.
11361136

1137+
If you want to override retry delay form the retry strategy. You can achieve this
1138+
using by providing it in the exception, using the ``getRetryDelay()`` method from:class:`Symfony\\Component\\Messenger\\Exception\\RecoverableExceptionInterface`.
1139+
1140+
..versionadded::7.2
1141+
1142+
The method ``getRetryDelay()`` was introduced in Symfony 7.2.
1143+
11371144
.. _messenger-failure-transport:
11381145

11391146
Saving & Retrying Failed Messages

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp