MCPcopy Create free account
hub / github.com/sourcegraph/conc / limit

Method limit

pool/pool.go:160–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158type limiter chan struct{}
159
160func (l limiter) limit() int {
161 return cap(l)
162}
163
164func (l limiter) release() {
165 if l != nil {

Callers 1

MaxGoroutinesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected