diff options
author | Patrick Schratz <patrick.schratz@gmail.com> | 2023-04-17 08:34:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-17 02:34:59 -0400 |
commit | 463e144d97d4ffa913658076bee0ed2781ea2735 (patch) | |
tree | 13f210559c0b1fc1872a211803d7ddaf3b0e33de /modules/queue | |
parent | 2b32f8b95f13aac07a27449290ac4ca5d9a917f0 (diff) | |
download | gitea-463e144d97d4ffa913658076bee0ed2781ea2735.tar.gz gitea-463e144d97d4ffa913658076bee0ed2781ea2735.zip |
Update redis library to support redis v7 (#24114) (#24156)
backports #24114
---------
Co-authored-by: techknowlogick <hello@techknowlogick.com>
Diffstat (limited to 'modules/queue')
-rw-r--r-- | modules/queue/queue_redis.go | 2 | ||||
-rw-r--r-- | modules/queue/unique_queue_redis.go | 2 |
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 |