Update to go-redis v9. Fixed Redis cluster support (#1415)

* Update to go-redis v9. Fixed Redis cluster support
This commit is contained in:
David Zhao
2023-02-12 22:22:21 -08:00
committed by GitHub
parent e6eabb3a03
commit ea12e1477f
11 changed files with 55 additions and 60 deletions
+5 -6
View File
@@ -7,13 +7,17 @@ import (
"fmt"
"os"
"github.com/go-redis/redis/v8"
"github.com/google/wire"
"github.com/pion/turn/v2"
"github.com/pkg/errors"
"github.com/redis/go-redis/v9"
"gopkg.in/yaml.v3"
"github.com/livekit/livekit-server/pkg/clientconfiguration"
"github.com/livekit/livekit-server/pkg/config"
"github.com/livekit/livekit-server/pkg/routing"
"github.com/livekit/livekit-server/pkg/service/rpc"
"github.com/livekit/livekit-server/pkg/telemetry"
"github.com/livekit/livekit-server/pkg/utils"
"github.com/livekit/protocol/auth"
"github.com/livekit/protocol/egress"
@@ -22,11 +26,6 @@ import (
redisLiveKit "github.com/livekit/protocol/redis"
"github.com/livekit/protocol/webhook"
"github.com/livekit/psrpc"
"github.com/livekit/livekit-server/pkg/clientconfiguration"
"github.com/livekit/livekit-server/pkg/config"
"github.com/livekit/livekit-server/pkg/routing"
"github.com/livekit/livekit-server/pkg/telemetry"
)
func InitializeServer(conf *config.Config, currentNode routing.LocalNode) (*LivekitServer, error) {