-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having no tries option in the supervisor causes unlimited tries #1076
Comments
Hi there, Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels: However, this issue will not be locked and everyone is still free to discuss solutions to your problem! Thanks. |
I don't see how this isn't a bug? The current behaviour means leaving the |
@driesvints, I also think this is a bug. Also, in Horizon since version 3.0 the default |
Hey all. Sorry for neglecting this a bit. What do you recommend for fixing this? Having a better fallback? In general we don't recommend removing the tries field or setting it to zero. |
I think just changing the Since all the other default values are the same in both files, as @shivampawstickee said, it just does not seem intended to be |
If you could PR that (probably to master because it'll be a breaking change) with a thorough explanation for Taylor, he could have a look 👍 |
Description:
When there is no
tries
option set theSupervisorOptions
class defaults$maxTries
to 0 which causes an infinite loop when jobs fail.Is this intended? My hunch is it isn't because in
Illuminate\Queue\WorkerOptions
the default is 1I know that
tries
is set in the config file by default, but it still feels incorrect to me to have unlimited retries allowed?Happy to create a PR if it is agreed this needs addressing.
The text was updated successfully, but these errors were encountered: