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

Struct FIFORequestQueue

pkg/scheduler/queue/user_request_queue.go:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17type FIFORequestQueue struct {
18 queue chan Request
19 userID string
20 queueLength *prometheus.GaugeVec
21}
22
23func NewFIFORequestQueue(queue chan Request, userID string, queueLength *prometheus.GaugeVec) *FIFORequestQueue {
24 return &FIFORequestQueue{queue: queue, userID: userID, queueLength: queueLength}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected