Replies: 1 comment
-
In
Backoff is set in minutes, then in Documentation states:
Clearly, there is a mistake in the docs, comparing to what the code does. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello friends
Laravel v8.32.1
PHP 8.0
I'm using the ThrottlesExceptions middleware for handling an unstable API with Jobs. Now I wondered why a failed Job was not being retried after the defined seconds with backoff(30). Although the documentations says that backoff time is in seconds, this middleware applies backoff time in minutes.
I'd expect the backoff time to be in seconds as in the documentation explained and also to be consistent with the use of backoff in other places. But I'm not sure, if it was intended to update the documentations.
Beta Was this translation helpful? Give feedback.
All reactions