Ioredis: What is the time Unit of Expire command Seconds or Milliseconds?

Created on 21 Dec 2016  Â·  2Comments  Â·  Source: luin/ioredis

redis.expire command takes the time in Seconds or Milliseconds?
Would be nice if this was also documented somewhere.

Most helpful comment

This is actually a very important thing, but the official documentation doesn't seem to state it clearly.

All 2 comments

It's a redis command so you can check out the redis official document. The unit of expire is second  while pexpire is ms.

Get Outlook for iOS

On Wed, Dec 21, 2016 at 9:44 PM +0800, "vipreshjha" notifications@github.com wrote:

redis.expire command takes the time in Seconds or Milliseconds?

Would be nice if this was also documented somewhere.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This is actually a very important thing, but the official documentation doesn't seem to state it clearly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jehy picture jehy  Â·  4Comments

hzxuzhonghu picture hzxuzhonghu  Â·  5Comments

luckyscript picture luckyscript  Â·  5Comments

pensierinmusica picture pensierinmusica  Â·  5Comments

lakano picture lakano  Â·  3Comments