Merge pull request #3341 from omnivore-app/fix/rss-handler-redis

fix redis command server incompatibility
This commit is contained in:
Hongbo Wu
2024-01-09 16:43:08 +08:00
committed by GitHub

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