ioredis-mock icon indicating copy to clipboard operation
ioredis-mock copied to clipboard

Unexpected true value, for non-existing key

Open tada5hi opened this issue 3 years ago • 2 comments

  • I'not quite sure why this is happening, but the library is returning true for an non existing redis key ^^. This issue occurs when i try to update from version 5.9.1 to 7.0.0.
  • I think the error should be caused by changes to the src/data.js file, but i didn't took a deep look into it yet.
  • Maybe you detect it sooner ^^

tada5hi avatar Feb 18 '22 20:02 tada5hi

https://github.com/tada5hi/redis-extension/pull/21

tada5hi avatar Feb 18 '22 20:02 tada5hi

Hi, you're most likely affected by the change explained here. Unless it's a bug/regression in redis.expire?

stipsan avatar May 04 '22 23:05 stipsan