-
Notifications
You must be signed in to change notification settings - Fork 12
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
refactor: fix type inconsistency #11
Conversation
Good catch. Thanks. |
src/Commands/QueueWork.php
Outdated
$tries = (int) ($params['tries'] ?? CLI::getOption('tries')); | ||
$retryAfter = (int) ($params['retry-after'] ?? CLI::getOption('retry-after')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has to be handled differently. We expect null
if no value is set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And should be: 7cafc2d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I made changes to support all the params: 440d844
a917ff0
to
7cafc2d
Compare
It seems the remaining errors are bugs or API inconsistency.
|
7cafc2d
to
a2db811
Compare
Thanks! Seems like |
I don't understand the code well, but is that model unrelated to Redis? And you created #12, so can I close this PR? |
No. Failed jobs are always stored in the "traditional" database.
Yes, however, please don't remove the branch yet - just in case. |
Needs #10Description
Checklist: