MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / queue

Struct queue

pkg/queue/queue.go:37–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 SuspendingTasks() int
36 }
37 queue struct {
38 sync.Mutex
39 routineGroup *routineGroup
40 metric *metric
41 quit chan struct{}
42 ready chan struct{}
43 scheduler Scheduler
44 stopOnce sync.Once
45 stopFlag int32
46 rootCtx context.Context
47 cancel context.CancelFunc
48
49 // Dependencies
50 logger logging.Logger
51 taskClient inventory.TaskClient
52 dep Dep
53 registry TaskRegistry
54
55 // Options
56 *options
57 }
58
59 Dep interface {
60 ForkWithLogger(ctx context.Context, l logging.Logger) context.Context

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected