mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmselect/promql: move the eval function args in parallel
query trace outside the loop
This commit is contained in:
parent
a0f9cb27f9
commit
31fc29599f
1 changed files with 1 additions and 1 deletions
|
@ -652,9 +652,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