feat(core): Enable task runner by default (#12726)

This commit is contained in:
Tomi Turtiainen 2025-01-21 14:31:06 +02:00 committed by GitHub
parent 353df79411
commit 9e2a01aeaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -10,9 +10,8 @@ export type TaskRunnerMode = 'internal' | 'external';
@Config
export class TaskRunnersConfig {
@Env('N8N_RUNNERS_ENABLED')
enabled: boolean = false;
enabled: boolean = true;
// Defaults to true for now
@Env('N8N_RUNNERS_MODE')
mode: TaskRunnerMode = 'internal';

View file

@ -221,7 +221,7 @@ describe('GlobalConfig', () => {
},
},
taskRunners: {
enabled: false,
enabled: true,
mode: 'internal',
path: '/runners',
authToken: '',

View file

@ -54,6 +54,7 @@ export class TaskRunnerProcess extends TypedEmitter<TaskRunnerProcessEventMap> {
private readonly passthroughEnvVars = [
'PATH',
'HOME', // So home directory can be resolved correctly
'GENERIC_TIMEZONE',
'NODE_FUNCTION_ALLOW_BUILTIN',
'NODE_FUNCTION_ALLOW_EXTERNAL',