Kaynağa Gözat

fix(core): Revert change to SQLJobQueueStrategy update mechanism

Michael Bromley 1 yıl önce
ebeveyn
işleme
a1e773082c

+ 1 - 0
packages/core/src/plugin/default-job-queue-plugin/sql-job-queue-strategy.ts

@@ -166,6 +166,7 @@ export class SqlJobQueueStrategy extends PollingJobQueueStrategy implements Insp
             .update()
             .set(this.toRecord(job))
             .where('id = :id', { id: job.id })
+            .andWhere('settledAt IS NULL')
             .execute();
     }