CommandSchedulerBundle
CommandSchedulerBundle copied to clipboard
Command gets locked forever.
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.
I have the same issue. Did you find some workaround for this @muhammadumair-coeus ?