ioredis
ioredis copied to clipboard
Expire doesn't seem to work with non-integer arguments for seconds
Hi,
I ran the following code:
await client
.multi()
.zadd(key, score, member)
.expire(key, 50.555)
And when the expiration key is a floating point value like 50.555, the TTL seems to remain -1. Is this intended behavior? Is it possible to enforce an integer requirement or choose a different default?