mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix redis command server incompatibility
This commit is contained in:
parent
4fcb055f69
commit
34e6f1b00a
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