mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Centralize scaling mode (no-changelog) (#9835)
This commit is contained in:
@@ -211,8 +211,8 @@ export class Server extends AbstractServer {
|
||||
setupPushHandler(restEndpoint, app);
|
||||
|
||||
if (config.getEnv('executions.mode') === 'queue') {
|
||||
const { Queue } = await import('@/Queue');
|
||||
await Container.get(Queue).init();
|
||||
const { ScalingService } = await import('@/scaling/scaling.service');
|
||||
await Container.get(ScalingService).setupQueue();
|
||||
}
|
||||
|
||||
await handleMfaDisable();
|
||||
|
||||
Reference in New Issue
Block a user