feat(core): Support bidirectional communication between specific mains and specific workers (#10377)

This commit is contained in:
Iván Ovejero
2024-08-20 12:32:31 +02:00
committed by GitHub
parent 51f3e84dff
commit d0fc9dee0e
7 changed files with 57 additions and 25 deletions

View File

@@ -239,7 +239,10 @@ export class Start extends BaseCommand {
await orchestrationService.init();
await Container.get(OrchestrationHandlerMainService).init();
await Container.get(OrchestrationHandlerMainService).initWithOptions({
queueModeId: this.queueModeId,
redisPublisher: Container.get(OrchestrationService).redisPublisher,
});
if (!orchestrationService.isMultiMainSetupEnabled) return;