aboutsummaryrefslogtreecommitdiffstats
path: root/modules/queue
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2023-04-13 18:41:04 -0400
committerGitHub <noreply@github.com>2023-04-13 18:41:04 -0400
commit985f76dc4b0692c4d6c6f37e82500ef859557c16 (patch)
treedec7e6ba9208954eaf2c33777ca0fe2e7ae989fd /modules/queue
parent5b9557aef59b190c55de9ea218bf51152bc04786 (diff)
downloadgitea-985f76dc4b0692c4d6c6f37e82500ef859557c16.tar.gz
gitea-985f76dc4b0692c4d6c6f37e82500ef859557c16.zip
Update redis library to support redis v7 (#24114)
Diffstat (limited to 'modules/queue')
-rw-r--r--modules/queue/queue_redis.go2
-rw-r--r--modules/queue/unique_queue_redis.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/queue/queue_redis.go b/modules/queue/queue_redis.go
index 039e95241c..f8842fea9f 100644
--- a/modules/queue/queue_redis.go
+++ b/modules/queue/queue_redis.go
@@ -10,7 +10,7 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/nosql"
- "github.com/go-redis/redis/v8"
+ "github.com/redis/go-redis/v9"
)
// RedisQueueType is the type for redis queue
diff --git a/modules/queue/unique_queue_redis.go b/modules/queue/unique_queue_redis.go
index 491ae5d15e..ae1df08ebd 100644
--- a/modules/queue/unique_queue_redis.go
+++ b/modules/queue/unique_queue_redis.go
@@ -6,7 +6,7 @@ package queue
import (
"context"
- "github.com/go-redis/redis/v8"
+ "github.com/redis/go-redis/v9"
)
// RedisUniqueQueueType is the type for redis queue