mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Make task broker an explicit component of task runner (#12782)
This commit is contained in:
@@ -7,9 +7,9 @@ import * as process from 'node:process';
|
||||
|
||||
import { OnShutdown } from '@/decorators/on-shutdown';
|
||||
|
||||
import { TaskRunnerAuthService } from './auth/task-runner-auth.service';
|
||||
import { forwardToLogger } from './forward-to-logger';
|
||||
import { NodeProcessOomDetector } from './node-process-oom-detector';
|
||||
import { TaskBrokerAuthService } from './task-broker/auth/task-broker-auth.service';
|
||||
import { TaskRunnerLifecycleEvents } from './task-runner-lifecycle-events';
|
||||
import { TypedEmitter } from '../typed-emitter';
|
||||
|
||||
@@ -68,7 +68,7 @@ export class TaskRunnerProcess extends TypedEmitter<TaskRunnerProcessEventMap> {
|
||||
constructor(
|
||||
logger: Logger,
|
||||
private readonly runnerConfig: TaskRunnersConfig,
|
||||
private readonly authService: TaskRunnerAuthService,
|
||||
private readonly authService: TaskBrokerAuthService,
|
||||
private readonly runnerLifecycleEvents: TaskRunnerLifecycleEvents,
|
||||
) {
|
||||
super();
|
||||
|
||||
Reference in New Issue
Block a user