[release-11.6.2] Live: bump centrifuge (#105471)

* Live: bump centrifuge (#105214)

* bump centrifuge

* make update-workspace

(cherry picked from commit d91e4b0582)

* fix compilation error
This commit is contained in:
Artur Wierzbicki
2025-05-16 19:44:06 +04:00
committed by GitHub
parent 6acd08a8a4
commit 59cdce6127
4 changed files with 835 additions and 327 deletions
+5 -3
View File
@@ -110,9 +110,11 @@ func ProvideService(plugCtxProvider *plugincontext.Provider, cfg *setting.Cfg, r
// things. For example Node allows to publish messages to channels from server
// side with its Publish method.
node, err := centrifuge.New(centrifuge.Config{
LogHandler: handleLog,
LogLevel: centrifuge.LogLevelError,
MetricsNamespace: "grafana_live",
LogHandler: handleLog,
LogLevel: centrifuge.LogLevelError,
Metrics: centrifuge.MetricsConfig{
MetricsNamespace: "grafana_live",
},
ClientQueueMaxSize: 4194304, // 4MB
// Use reasonably large expiration interval for stream meta key,
// much bigger than maximum HistoryLifetime value in Node config.