-
-
Notifications
You must be signed in to change notification settings - Fork 543
Open
Description
It is forbidden to call env.cr.commit() in delayed job functions.
It has always been bad practice, but now a commit releases the job lock and can cause it to be started again (while still running) by the dead jobs requeuer.
#880 makes such commits an error to make that explicit.
I open this issue to collect feedback on this, as there might be (semi-)legitimate uses of commit.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels