mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
refactor(core): Add deprecation notice for own mode (#6195)
* refactor: Add deprecation notice for own mode * Undo default value change
This commit is contained in:
parent
b499d27f08
commit
1da71645f2
|
@ -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);
|
||||
|
|
|
@ -229,7 +229,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: IS_V1_RELEASE ? 'main' : 'own',
|
||||
env: 'EXECUTIONS_PROCESS',
|
||||
|
|
Loading…
Reference in a new issue