diff --git a/cmd/thanos/query.go b/cmd/thanos/query.go index 6d9f3da61de..18203810644 100644 --- a/cmd/thanos/query.go +++ b/cmd/thanos/query.go @@ -589,8 +589,6 @@ func runQuery( // Otherwise, the nil active query tracker from existing engine options will be used. if activeQueryDir != "" { engineOpts.ActiveQueryTracker = promql.NewActiveQueryTracker(activeQueryDir, maxConcurrentQueries, logger) - } else { - engineOpts.ActiveQueryTracker = engineOpts.ActiveQueryTracker } engine := promql.NewEngine(engineOpts) lookbackDeltaCreator := LookbackDeltaFactory(engineOpts, dynamicLookbackDelta)