fix(core): Fix worker logs relay (#9919)

This commit is contained in:
Iván Ovejero
2024-07-03 10:29:25 +02:00
committed by GitHub
parent e6ad5a7193
commit 7c53433191
2 changed files with 5 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ import type { WorkerJobStatusSummary } from '@/services/orchestration/worker/typ
import { ServiceUnavailableError } from '@/errors/response-errors/service-unavailable.error';
import { BaseCommand } from './BaseCommand';
import { MaxStalledCountError } from '@/errors/max-stalled-count.error';
import { AuditEventRelay } from '@/eventbus/audit-event-relay.service';
export class Worker extends BaseCommand {
static description = '\nStarts a n8n worker';
@@ -287,6 +288,7 @@ export class Worker extends BaseCommand {
await Container.get(MessageEventBus).initialize({
workerId: this.queueModeId,
});
Container.get(AuditEventRelay).init();
}
/**