refactor(core): Simplify subscriber handler setters (#10896)

This commit is contained in:
Iván Ovejero
2024-09-23 14:14:00 +02:00
committed by GitHub
parent 23c09eae42
commit 5c171c4bf0
8 changed files with 170 additions and 167 deletions

View File

@@ -2,6 +2,8 @@ export const QUEUE_NAME = 'jobs';
export const JOB_TYPE_NAME = 'job';
/** Pubsub channel for commands sent by a main process to workers or to other main processes. */
export const COMMAND_PUBSUB_CHANNEL = 'n8n.commands';
/** Pubsub channel for messages sent by workers in response to commands from main processes. */
export const WORKER_RESPONSE_PUBSUB_CHANNEL = 'n8n.worker-response';