mirror of
https://github.com/zitadel/zitadel.git
synced 2025-06-09 18:58:33 +00:00
fix: project telemetry once for all instances (#6323)
(cherry picked from commit d33a4fbb2f76e26e65b969b4f06bab13c73453c1)
This commit is contained in:
parent
660a7b2576
commit
c0a9f23215
@ -3,6 +3,7 @@ package handlers
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"math"
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
@ -57,6 +58,7 @@ func NewTelemetryPusher(
|
||||
handlerCfg.ProjectionName = TelemetryProjectionTable
|
||||
handlerCfg.Reducers = p.reducers()
|
||||
p.cfg = telemetryCfg
|
||||
handlerCfg.ConcurrentInstances = math.MaxInt
|
||||
p.StatementHandler = crdb.NewStatementHandler(ctx, handlerCfg)
|
||||
p.commands = commands
|
||||
p.queries = queries
|
||||
|
Loading…
x
Reference in New Issue
Block a user