You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #20429 [Messenger] Document getRetryDelay() (MrYamous)
This PR was squashed before being merged into the 7.2 branch.
Discussion
----------
[Messenger] Document `getRetryDelay()`
Documentation for code [57915](symfony/symfony#57915)
Commits
-------
646e199 [Messenger] Document `getRetryDelay()`
the message will always be retried infinitely and ``max_retries`` setting will be ignored.
1136
1136
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.
0 commit comments