-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
worker stop after first attempt on db driver #207
Comments
I'd find out what the string is before casting it to int... |
Can you log it and check? |
I think its string "123" because it fetch from db but I will check after work. |
Ah, understood. Yes, seems to be casting problem and solution should be OK. |
@farmani I cannot reproduce the bug. Show your command line that starts a worker and throws the exception, please. What PHP are you using? |
the first exception is in my code but when it want to create the second try in a retryable job this error rised. I think php version is 7.0 but no matter what php version you use in db driver it should happen in all php version. |
Your exception trace shows that
The exception can be shown if you specially set wrong param:
Please, show you |
find the issue on the server you right but anyway casting prevent exception and this kind of problems
|
Yes, it is correct command. I'm not sure that casting will solve the issue, because cause of the bug is still undefined. |
@zhuravljov cause of bug is obvious in the server supervisord config was like this:
line break with $ because of copy past its not a bug actually but should throw an invalid param exception or casting may also be a solution too |
OK, understood. But type casting is wrong way, because it doesn't solve the problem, it hides its. For example |
@zhuravljov make sense |
I see this in supervisor log when an error happen it seems for db driver when an error occurred it cannot attempt next time because of this
The text was updated successfully, but these errors were encountered: