Skip to content

Commit

Permalink
No timeout limit
Browse files Browse the repository at this point in the history
  • Loading branch information
jeschkies committed Oct 7, 2024
1 parent de7d83c commit 2da4270
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/logql/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import (
"github.com/grafana/loki/v3/pkg/util/validation"
)

var (
NoLimits = &fakeLimits{maxSeries: math.MaxInt32}
)
var NoLimits = &fakeLimits{
maxSeries: math.MaxInt32,
timeout: math.MaxInt32,
}

// Limits allow the engine to fetch limits for a given users.
type Limits interface {
Expand Down

0 comments on commit 2da4270

Please sign in to comment.