mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #3341 from omnivore-app/fix/rss-handler-redis
fix redis command server incompatibility
This commit is contained in:
commit
c11f86d5c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue