-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
It seams i cannot use $tries and $timeout properties on my queued listener class? #18199
Comments
We're missing steps to reproduce and an actual error description. Do you get an error message? |
Hi, no error message. Simply:
Inspect queued listener using beanstalkd console and you'll notice that 'timeout' and 'maxTries' are stored as null. If i use queued Job instead everything is ok! Thanks. |
I see nothing in the code that states that events should support $tries or $timeout. Reference: framework/src/Illuminate/Events/Dispatcher.php Lines 434 to 462 in 35f0bb1
Are you saying that something in the docs says they should; or are you asking for a new feature? |
You are right. I have assumed that new granular approach would be available in listener too. I hope this will be in the near future! Thank you! |
Just submitted a PR that should add the functionality #18375 |
Thank you 1K! |
Description:
It seams i cannot use $tries and $timeout properties on my queued listener class?
I'm doing something wrong?
Thank you.
peyobr
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: