Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
130
let
processingMessages = 0
131
const
isWorkerAvailable = (): boolean => processingMessages <= 3
132
const
addWorkerJob = (): void => {
133
processingMessages++
134
}
135
const
removeWorkerJob = (): void => {
136
processingMessages--
137
}
Callers
1
handleMessages
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected