live: update centrifuge to v0.18.2 (#38925)

This commit is contained in:
Alexander Emelin
2021-09-07 21:05:24 +03:00
committed by GitHub
parent b14b267bed
commit 342b1426e5
3 changed files with 19 additions and 18 deletions
-3
View File
@@ -113,9 +113,6 @@ func ProvideService(plugCtxProvider *plugincontext.Provider, cfg *setting.Cfg, r
broker, err := centrifuge.NewRedisBroker(node, centrifuge.RedisBrokerConfig{
Prefix: "gf_live",
// We are using Redis streams here for history. Require Redis >= 5.
UseStreams: true,
// Use reasonably large expiration interval for stream meta key,
// much bigger than maximum HistoryLifetime value in Node config.
// This way stream meta data will expire, in some cases you may want