fix(core): Ensure queue is ready when enqueueing (#16098)

This commit is contained in:
Iván Ovejero
2025-06-10 10:09:26 +02:00
committed by GitHub
parent 07ed01d9fc
commit 25567f6f0e
3 changed files with 41 additions and 1 deletions

View File

@@ -348,6 +348,7 @@ export class WorkflowRunner {
if (!this.scalingService) {
const { ScalingService } = await import('@/scaling/scaling.service');
this.scalingService = Container.get(ScalingService);
await this.scalingService.setupQueue();
}
// TODO: For realtime jobs should probably also not do retry or not retry if they are older than x seconds.