Skip to content

Commit 3b85970

Browse files
authored
Clarify that RecoverableMessageHandlingException retryDelay is milliseconds
1 parent ca60dca commit 3b85970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ and must be retried. If you throw
12031203
:class:`Symfony\\Component\\Messenger\\Exception\\RecoverableMessageHandlingException`,
12041204
the message will always be retried infinitely and ``max_retries`` setting will be ignored.
12051205

1206-
You can define a custom retry delay (e.g., to use the value from the ``Retry-After``
1206+
You can define a custom retry delay in milliseconds (e.g., to use the value from the ``Retry-After``
12071207
header in an HTTP response) by setting the ``retryDelay`` argument in the
12081208
constructor of the ``RecoverableMessageHandlingException``.
12091209

0 commit comments

Comments
 (0)