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

Command gets locked forever. #152

Open
muhammadumairsse opened this issue Jan 8, 2020 · 1 comment
Open

Command gets locked forever. #152

muhammadumairsse opened this issue Jan 8, 2020 · 1 comment

Comments

@muhammadumairsse
Copy link

I found this problem recently, If the exception occurs during flush on the following line https://github.com/j-guyon/CommandSchedulerBundle/blob/1.2/Command/ExecuteCommand.php#L223 the command stays locked forever, untill unless you unlock it manually.

Symfony can throw exception here \Doctrine\ORM\OptimisticLockException
Please add try catch here. So that code don't break.

@kovinet
Copy link

kovinet commented Apr 8, 2021

I have the same issue. Did you find some workaround for this @muhammadumair-coeus ?

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

2 participants