fix(core): Don't load task-runner on main instances when manual executions are offloaded to workers (#15986)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-06-06 10:28:58 +02:00
committed by GitHub
parent 7a67dcb686
commit 23ce60d646

View File

@@ -197,6 +197,10 @@ export class Start extends BaseCommand {
}
}
if (process.env.OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS === 'true') {
this.needsTaskRunner = false;
}
await super.init();
this.activeWorkflowManager = Container.get(ActiveWorkflowManager);