fix redis command server incompatibility

This commit is contained in:
Hongbo Wu
2024-01-09 16:26:54 +08:00
parent 4fcb055f69
commit 34e6f1b00a

View File

@ -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) {