-
Notifications
You must be signed in to change notification settings - Fork 12
Mysql error on failed job insert #28
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels