MCPcopy
hub / github.com/grafana/tempo / IsPending

Method IsPending

modules/backendscheduler/work/job.go:59–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59func (j *Job) IsPending() bool {
60 j.mtx.Lock()
61 defer j.mtx.Unlock()
62 return j.Status == tempopb.JobStatus_JOB_STATUS_UNSPECIFIED
63}
64
65func (j *Job) IsRunning() bool {
66 j.mtx.Lock()

Callers 2

TestStatusFunction · 0.95
StartJobMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestStatusFunction · 0.76