Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GongShichen/LuminaCode
/ CanAccept
Method
CanAccept
tools/bash/background.go:82–86 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
80
defer
m.mu.Unlock()
81
return
m.activeCountLocked()
82
}
83
84
func
(m *BackgroundManager) CanAccept() bool {
85
m.mu.Lock()
86
defer
m.mu.Unlock()
87
return
m.activeCountLocked() < maxBackgroundTasks
88
}
89
Callers
1
AutoBackgroundIfBlocking
Function · 0.80
Calls
1
activeCountLocked
Method · 0.95
Tested by
no test coverage detected