diff --git a/packages/cli/src/commands/BaseCommand.ts b/packages/cli/src/commands/BaseCommand.ts index 3ed08cfb3741a..f91a88c15bf9e 100644 --- a/packages/cli/src/commands/BaseCommand.ts +++ b/packages/cli/src/commands/BaseCommand.ts @@ -62,6 +62,11 @@ export abstract class BaseCommand extends Command { 'Support for MySQL/MariaDB has been deprecated and will be removed with an upcoming version of n8n. Please migrate to PostgreSQL.', ); } + if (process.env.EXECUTIONS_PROCESS === 'own') { + LoggerProxy.warn( + 'Own mode has been deprecated and will be removed in a future version of n8n. If you need the isolation and performance gains, please consider using queue mode.', + ); + } this.instanceId = this.userSettings.instanceId ?? ''; await Container.get(PostHogClient).init(this.instanceId); diff --git a/packages/cli/src/config/schema.ts b/packages/cli/src/config/schema.ts index 1a9413167f63e..0abc3e1a9ae82 100644 --- a/packages/cli/src/config/schema.ts +++ b/packages/cli/src/config/schema.ts @@ -228,7 +228,7 @@ export const schema = { // If this option gets set to "main" it will run them in the // main-process instead. process: { - doc: 'In what process workflows should be executed', + doc: 'In what process workflows should be executed. Note: Own mode has been deprecated and will be removed in a future version as well as this setting.', format: ['main', 'own'] as const, default: 'own', env: 'EXECUTIONS_PROCESS',