Skip to content

Commit

Permalink
fixup! fixup! Replace bloomcompactor.DayTable with config.DayTime
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Haudum <[email protected]>
  • Loading branch information
chaudum committed Feb 12, 2024
1 parent 939cbb0 commit 4171751
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/querier/queryrange/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ func WeightedParallelism(
// config because query is in future
// or
// there is overlap with current config
finalOrFuture := i == len(configs)-1 || configs[i].From.After(end)
finalOrFuture := i == len(configs)-1 || configs[i].From.Time.After(end)
if finalOrFuture {
return true
}
Expand Down Expand Up @@ -605,7 +605,7 @@ func WeightedParallelism(

var tsdbDur, otherDur time.Duration

for ; i < len(configs) && configs[i].From.Before(end); i++ {
for ; i < len(configs) && configs[i].From.Time.Before(end); i++ {
_, from := minMaxModelTime(start, configs[i].From.Time)
through := end
if i+1 < len(configs) {
Expand Down

0 comments on commit 4171751

Please sign in to comment.