From 34e6f1b00a66cc9def32a3e433385b2d2cde59b6 Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Tue, 9 Jan 2024 16:26:54 +0800 Subject: [PATCH] fix redis command server incompatibility --- packages/rss-handler/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rss-handler/src/index.ts b/packages/rss-handler/src/index.ts index c280cb5c8..086508dcb 100644 --- a/packages/rss-handler/src/index.ts +++ b/packages/rss-handler/src/index.ts @@ -86,7 +86,7 @@ const incrementFeedFailure = async ( try { const result = await redisClient.incr(key) // expire the key in 1 day - await redisClient.expire(key, 24 * 60 * 60, 'NX') + await redisClient.expire(key, 24 * 60 * 60) return result } catch (error) {