Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ Priority
Method
Priority
pkg/util/priority_queue.go:22–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
// PriorityOp is an operation on the priority queue.
21
type
PriorityOp
interface
{
22
Priority() int64
// The larger the number the higher the priority.
23
}
24
25
type
queue []PriorityOp
Callers
6
EnqueueRequest
Method · 0.65
enqueueRequest
Method · 0.65
dequeueRequest
Method · 0.65
enqueueRequest
Method · 0.65
dequeueRequest
Method · 0.65
Less
Method · 0.65
Implementers
3
schedulerRequest
pkg/scheduler/scheduler.go
MockRequest
pkg/scheduler/queue/queue_test.go
request
pkg/frontend/v1/frontend.go
Calls
no outgoing calls
Tested by
no test coverage detected