mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 12:18:15 +08:00
fix(plugin-workflow-parallel): fix missed transaction causing dead lock in mysql (#5118)
This commit is contained in:
parent
fd28b468c9
commit
8749ba16f8
@ -120,7 +120,7 @@ export default class extends Instruction {
|
||||
});
|
||||
|
||||
if (job.status === JOB_STATUS.PENDING) {
|
||||
await job.save();
|
||||
await job.save({ transaction: processor.transaction });
|
||||
return processor.exit();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user