MCPcopy
hub / github.com/jordan-wright/email / dec

Method dec

pool.go:159–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157}
158
159func (p *Pool) dec() {
160 p.mut.Lock()
161 p.created--
162 p.mut.Unlock()
163
164 select {
165 case p.rebuild <- struct{}{}:
166 default:
167 }
168}
169
170func (p *Pool) makeOne() {
171 go func() {

Callers 3

makeOneMethod · 0.95
maybeReplaceMethod · 0.95
CloseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected