opstree/redis-migration

TTL bug

mrwacky42 opened this issue · 1 comments

Was testing this out today, didn't work for me.
But I did notice: REPLACE uses milliseconds for TTL, but the TTL command outputs seconds.
You want PTTL.

https://redis.io/commands/PTTL
https://redis.io/commands/RESTORE

Thanks for the bug report, I will check this