Skip to content
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

Mysql error on failed job insert #28

Open
jusstinas opened this issue Feb 16, 2019 · 0 comments
Open

Mysql error on failed job insert #28

jusstinas opened this issue Feb 16, 2019 · 0 comments

Comments

@jusstinas
Copy link

If connection argument is not passed to worker command, failed job insert to separate table is failing, because by generated entities connection field cannot be null.
I think this case it's logic to use default connection name.
Worst thing of this is that failed job is lost - job delete from regular jobs table is in a different transaction an run first. So it's deleted, another transaction with insert fails and it's lost.
Also after this error worker is running, but I think entity manager is closed and worker do nothing, because doesn't get any jobs from database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant