don't try to resume deps on wait resume

This commit is contained in:
nicktrn
2024-04-24 14:13:57 +01:00
parent cea94529de
commit f08ceb39ae
@@ -119,6 +119,9 @@ export class ResumeAttemptService extends BaseService {
logger.error("No task dependency", { attemptId: attempt.id });
return;
}
await this.#handleDependencyResume(attempt, completedAttemptIds, tx);
break;
}
case "WAIT_FOR_BATCH": {
@@ -136,14 +139,15 @@ export class ResumeAttemptService extends BaseService {
logger.error("No batch dependency", { attemptId: attempt.id });
return;
}
await this.#handleDependencyResume(attempt, completedAttemptIds, tx);
break;
}
default: {
break;
}
}
await this.#handleDependencyResume(attempt, completedAttemptIds, tx);
});
}