MCPcopy Create free account
hub / github.com/cortexproject/cortex / PriorityRequestQueue

Struct PriorityRequestQueue

pkg/scheduler/queue/user_request_queue.go:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46type PriorityRequestQueue struct {
47 queue *util.PriorityQueue
48 userID string
49 queueLength *prometheus.GaugeVec
50}
51
52func NewPriorityRequestQueue(queue *util.PriorityQueue, userID string, queueLength *prometheus.GaugeVec) *PriorityRequestQueue {
53 return &PriorityRequestQueue{queue: queue, userID: userID, queueLength: queueLength}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected