Explorar el Código

stop creating task for failed status

Shawn Lu hace 1 año
padre
commit
1464e170f4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/jobs/CreateBridgeTaskJob.ts

+ 1 - 1
src/jobs/CreateBridgeTaskJob.ts

@@ -18,7 +18,7 @@ export class CreateBridgeTaskJob extends CronJob {
         Task: {
           none: {
             status: {
-              in: [TaskStatus.AWAITING, TaskStatus.IN_PROGRESS],
+              in: [TaskStatus.AWAITING, TaskStatus.IN_PROGRESS, TaskStatus.FAILED],
             },
           },
         },