When setting a new key with some TTL:
redisClient.set(key, JSON.stringify(value), 'EX', expireInSeconds)
If expireInSeconds is greater than ~25 days (2160000 seconds) - redis-mock cuts it to 2147483.647 (which is looks like some integer limitations for some reason)
When setting a new key with some TTL:
redisClient.set(key, JSON.stringify(value), 'EX', expireInSeconds)
If expireInSeconds is greater than ~25 days (2160000 seconds) - redis-mock cuts it to
2147483.647
(which is looks like some integer limitations for some reason)