Skip to content

Commit

Permalink
integration test on new tree
Browse files Browse the repository at this point in the history
  • Loading branch information
chencs committed Jul 1, 2024
1 parent a121631 commit ca72570
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/frontend/v1/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,13 @@ func New(cfg Config, limits Limits, log log.Logger, registerer prometheus.Regist
},
[]string{"query_component"},
)

// additional queue dimensions not used in v1/frontend
f.requestQueue, err = queue.NewRequestQueue(
log,
cfg.MaxOutstandingPerTenant,
false,
false,
true,
cfg.QuerierForgetDelay,
f.queueLength,
f.discardedRequests,
Expand Down
2 changes: 1 addition & 1 deletion pkg/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func NewScheduler(cfg Config, limits Limits, log log.Logger, registerer promethe
s.log,
cfg.MaxOutstandingPerTenant,
cfg.AdditionalQueryQueueDimensionsEnabled,
cfg.UseMultiAlgorithmQueryQueue,
true,
cfg.QuerierForgetDelay,
s.queueLength,
s.discardedRequests,
Expand Down

0 comments on commit ca72570

Please sign in to comment.