MCPcopy 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
84func (m *BackgroundManager) CanAccept() bool {
85 m.mu.Lock()
86 defer m.mu.Unlock()
87 return m.activeCountLocked() < maxBackgroundTasks
88}
89

Callers 1

AutoBackgroundIfBlockingFunction · 0.80

Calls 1

activeCountLockedMethod · 0.95

Tested by

no test coverage detected