refactor: fix type inconsistency#11
Conversation
|
Good catch. Thanks. |
| $tries = (int) ($params['tries'] ?? CLI::getOption('tries')); | ||
| $retryAfter = (int) ($params['retry-after'] ?? CLI::getOption('retry-after')); |
There was a problem hiding this comment.
This has to be handled differently. We expect null if no value is set.
There was a problem hiding this comment.
There was a problem hiding this comment.
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: