From 346f83d70b363fd087b6ac8cb27c5ac81227e59f Mon Sep 17 00:00:00 2001 From: zijiren233 Date: Mon, 6 Jan 2025 23:56:05 +0800 Subject: [PATCH] fix: ignore redis ping error --- service/aiproxy/common/redis.go | 1 - 1 file changed, 1 deletion(-) diff --git a/service/aiproxy/common/redis.go b/service/aiproxy/common/redis.go index 7d26afceb09..e83e9d8f4ca 100644 --- a/service/aiproxy/common/redis.go +++ b/service/aiproxy/common/redis.go @@ -34,7 +34,6 @@ func InitRedisClient() (err error) { _, err = RDB.Ping(ctx).Result() if err != nil { log.Errorf("failed to ping redis: %s", err.Error()) - return err } return nil