[mirrorbits/gnome] Don't check redis version
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mirrorbits/gnome] Don't check redis version
- Date: Mon, 12 Apr 2021 12:38:58 +0000 (UTC)
commit b5ba9dc9284f6964e3f34ccd5e24a449ae3ba930
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Apr 12 14:38:47 2021 +0200
Don't check redis version
database/redis.go | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/database/redis.go b/database/redis.go
index fae0ecd..a7b04c9 100644
--- a/database/redis.go
+++ b/database/redis.go
@@ -85,10 +85,6 @@ func NewRedisCustomPool(pool redisPool) *Redis {
r.setFailureState(true)
}
- if r.checkVersion(conn) == ErrRedisUpgradeRequired {
- log.Fatalf("Unsupported Redis version, please upgrade to Redis >=
%s", core.RedisMinimumVersion)
- }
-
return conn, err
},
TestOnBorrow: func(c redis.Conn, t time.Time) error {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]