refactor(core): Move own mode to deprecation service (#14716)

This commit is contained in:
Iván Ovejero
2025-04-23 13:48:23 +02:00
committed by GitHub
parent 3e5e3a585c
commit ba07503286
4 changed files with 13 additions and 27 deletions

View File

@@ -140,6 +140,8 @@ export abstract class BaseCommand extends Command {
Container.get(DeprecationService).warn();
if (process.env.EXECUTIONS_PROCESS === 'own') process.exit(-1);
if (
config.getEnv('executions.mode') === 'queue' &&
this.globalConfig.database.type === 'sqlite'