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

Method LoadPriority

pkg/querier/stats/stats.go:261–267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

259}
260
261func (s *QueryStats) LoadPriority() (int64, bool) {
262 if s == nil {
263 return 0, false
264 }
265
266 return atomic.LoadInt64(&s.Priority), s.PriorityAssigned
267}
268
269func (s *QueryStats) SetDataSelectMaxTime(dataSelectMaxTime int64) {
270 if s == nil {

Callers 3

PriorityMethod · 0.80
reportQueryStatsMethod · 0.80
PriorityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected