Fixing cron transaction does not work
Since c8771e45b861 transaction must lock table when starting. Cron.run
has been updated accordingly but it does not work because the rollback is done after the transaction stops because the try/except surround the with statement.