mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Simplify worker pubsub message handler (#11086)
This commit is contained in:
@@ -112,10 +112,9 @@ export class Webhook extends BaseCommand {
|
||||
async initOrchestration() {
|
||||
await Container.get(OrchestrationWebhookService).init();
|
||||
|
||||
Container.get(PubSubHandler).init();
|
||||
const subscriber = Container.get(Subscriber);
|
||||
await subscriber.subscribe('n8n.commands');
|
||||
subscriber.setCommandMessageHandler();
|
||||
|
||||
Container.get(PubSubHandler).init();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user