MCPcopy Create free account
hub / github.com/coder/coder / clearOrPendAll

Method clearOrPendAll

coderd/provisionerdserver/acquirer.go:361–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359}
360
361func (a *Acquirer) clearOrPendAll() {
362 a.mu.Lock()
363 defer a.mu.Unlock()
364 for _, d := range a.q {
365 a.clearOrPendLocked(d)
366 }
367}
368
369func (a *Acquirer) clearOrPend(d domain) {
370 a.mu.Lock()

Callers 1

jobPostedMethod · 0.95

Calls 3

clearOrPendLockedMethod · 0.95
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected