From 3b859700298fb25dbc30badddc3321d4a3b38b91 Mon Sep 17 00:00:00 2001 From: Martin Melka Date: Mon, 13 Oct 2025 23:31:05 +0200 Subject: [PATCH] Clarify that RecoverableMessageHandlingException retryDelay is milliseconds --- messenger.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messenger.rst b/messenger.rst index 9ffb4164426..3d225ee9793 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1203,7 +1203,7 @@ and must be retried. If you throw :class:`Symfony\\Component\\Messenger\\Exception\\RecoverableMessageHandlingException`, the message will always be retried infinitely and ``max_retries`` setting will be ignored. -You can define a custom retry delay (e.g., to use the value from the ``Retry-After`` +You can define a custom retry delay in milliseconds (e.g., to use the value from the ``Retry-After`` header in an HTTP response) by setting the ``retryDelay`` argument in the constructor of the ``RecoverableMessageHandlingException``.