-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
bugSomething isn't workingSomething isn't workingredisSomething to do with `redis` in the "bun" moduleSomething to do with `redis` in the "bun" module
Description
What version of Bun is running?
1.2.15+df017990a
What platform is your computer?
Linux 6.16.1 x86_64 unknown
What steps can reproduce the bug?
await redis.getex('key', 'EX', 150);
console.log(
await redis.ttl('key')
); // -1
What is the expected behavior?
It is expected that the ttl would be in range [149, 150] taking in the query latency.
Using raw command works as intended:
redis.send('GETEX', [ 'key', 'EX', '300' ]);
What do you see instead?
No TTL set for the key.
Additional information
Redis version=8.2.1, bits=64,
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingredisSomething to do with `redis` in the "bun" moduleSomething to do with `redis` in the "bun" module