chore(core): Bring multi-main setup in line with scaling services (#11289)

This commit is contained in:
Iván Ovejero
2024-10-17 10:47:17 +02:00
committed by GitHub
parent fbae17d8fb
commit be50a9ac44
15 changed files with 76 additions and 52 deletions

View File

@@ -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.',
);