mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
fix: project telemetry once for all instances (#6323)
This commit is contained in:
parent
ef012d0081
commit
d33a4fbb2f
@ -3,6 +3,7 @@ package handlers
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"math"
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@ -57,6 +58,7 @@ func NewTelemetryPusher(
|
|||||||
handlerCfg.ProjectionName = TelemetryProjectionTable
|
handlerCfg.ProjectionName = TelemetryProjectionTable
|
||||||
handlerCfg.Reducers = p.reducers()
|
handlerCfg.Reducers = p.reducers()
|
||||||
p.cfg = telemetryCfg
|
p.cfg = telemetryCfg
|
||||||
|
handlerCfg.ConcurrentInstances = math.MaxInt
|
||||||
p.StatementHandler = crdb.NewStatementHandler(ctx, handlerCfg)
|
p.StatementHandler = crdb.NewStatementHandler(ctx, handlerCfg)
|
||||||
p.commands = commands
|
p.commands = commands
|
||||||
p.queries = queries
|
p.queries = queries
|
||||||
|
Loading…
Reference in New Issue
Block a user