MCPcopy Create free account
hub / github.com/linuxfoundation/crowd.dev / addWorkerJob

Function addWorkerJob

backend/src/bin/nodejs-worker.ts:132–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130let processingMessages = 0
131const isWorkerAvailable = (): boolean => processingMessages <= 3
132const addWorkerJob = (): void => {
133 processingMessages++
134}
135const removeWorkerJob = (): void => {
136 processingMessages--
137}

Callers 1

handleMessagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected