mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-24 21:09:20 +00:00
fix(core): Don't load task-runner on main instances when manual executions are offloaded to workers (#15986)
This commit is contained in:
committed by
GitHub
parent
7a67dcb686
commit
23ce60d646
@@ -197,6 +197,10 @@ export class Start extends BaseCommand {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (process.env.OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS === 'true') {
|
||||||
|
this.needsTaskRunner = false;
|
||||||
|
}
|
||||||
|
|
||||||
await super.init();
|
await super.init();
|
||||||
this.activeWorkflowManager = Container.get(ActiveWorkflowManager);
|
this.activeWorkflowManager = Container.get(ActiveWorkflowManager);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user