Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codeaashu/claude-code
/ getFreeSlot
Method
getFreeSlot
web/lib/performance/worker-pool.ts:35–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
}
34
35
private getFreeSlot(): WorkerSlot | null {
36
return
this.slots.find((s) => !s.busy) ?? null;
37
}
38
39
private ensureSlots(): void {
40
while
(this.slots.length < this.size) {
Callers
2
run
Method · 0.95
dequeue
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected