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
@@ -8,14 +8,9 @@ import (
"testing"
"time"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
"github.com/twitchtv/twirp"
"github.com/livekit/protocol/auth"
"github.com/livekit/protocol/livekit"
"github.com/livekit/protocol/logger"
"github.com/livekit/protocol/utils"
"github.com/livekit/livekit-server/pkg/config"
serverlogger "github.com/livekit/livekit-server/pkg/logger"
"github.com/livekit/livekit-server/pkg/routing"
@@ -23,6 +18,10 @@ import (
"github.com/livekit/livekit-server/pkg/telemetry/prometheus"
"github.com/livekit/livekit-server/pkg/testutils"
testclient "github.com/livekit/livekit-server/test/client"
"github.com/livekit/protocol/auth"
"github.com/livekit/protocol/livekit"
"github.com/livekit/protocol/logger"
"github.com/livekit/protocol/utils"
)
const (