mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
app/vmselect/promql: move the eval function args in parallel
query trace outside the loop
This commit is contained in:
parent
d1a62af3bd
commit
8a35377cf3
1 changed files with 1 additions and 1 deletions
|
@ -669,9 +669,9 @@ func evalExprsInParallel(qt *querytracer.Tracer, ec *EvalConfig, es []metricsql.
|
|||
}
|
||||
rvs := make([][]*timeseries, len(es))
|
||||
errs := make([]error, len(es))
|
||||
qt.Printf("eval function args in parallel")
|
||||
var wg sync.WaitGroup
|
||||
for i, e := range es {
|
||||
qt.Printf("eval function args in parallel")
|
||||
wg.Add(1)
|
||||
qtChild := qt.NewChild("eval arg %d", i)
|
||||
go func(e metricsql.Expr, i int) {
|
||||
|
|
Loading…
Reference in a new issue