Skip to content

Commit b9026e9

Browse files
committed
Prioritize top most priority to be consistent with query priorities
Signed-off-by: Essam Eldaly <[email protected]>
1 parent b374909 commit b9026e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/querier/tripperware/query_attribute_matcher.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func rejectQueryOrSetPriority(r *http.Request, now time.Time, lookbackDelta time
7070
for _, attribute := range priority.QueryAttributes {
7171
if matchAttributeForMetadataQuery(attribute, op, r, now) {
7272
reqStats.SetPriority(priority.Priority)
73+
break
7374
}
7475
}
7576
}

0 commit comments

Comments
 (0)