Properties
Private backoffInitiated
backoffInitiated: boolean = false
Private Readonly commands
Protected maxConcurrentPerWorker
maxConcurrentPerWorker: number
Private Readonly messages
messages
: TinyQueue<MessageType> = new TinyQueue([], (a: MessageType, b: MessageType) => {if (a.message.type === "atomist:command" && b.message.type !== "atomist:command") {return -1;} else if (a.message.type !== "atomist:command" && b.message.type === "atomist:command") {return 1;} else {return a.ts - b.ts;}})
Protected numWorkers
numWorkers: number
Private Optional registration
Private replaceWorkers
replaceWorkers: boolean = true
Private shutdownInitiated
shutdownInitiated: boolean = false
Private Readonly webSocketLifecycle
A RequestProcessor that delegates to Node.JS Cluster workers to do the actual command and event processing.
ClusterWorkerRequestProcessor