mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
chore(core): Bring multi-main setup in line with scaling services (#11289)
This commit is contained in:
@@ -83,7 +83,7 @@ export class Webhook extends BaseCommand {
|
||||
}
|
||||
|
||||
async run() {
|
||||
if (config.getEnv('multiMainSetup.enabled')) {
|
||||
if (this.globalConfig.multiMainSetup.enabled) {
|
||||
throw new ApplicationError(
|
||||
'Webhook process cannot be started when multi-main setup is enabled.',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user