Closed
Description
client unref function has disapeared ?
is it intentional ?
it was useful and easy to use it : it's like saying, when there is no more work => shutdown server
import { createClient } from "redis"
let redisClient = createClient({
url: 'redis://localhost:6379',
legacyMode: true
})
await redisClient.connect()
redisClient.unref();
// throws TypeError: redisClient.unref is not a function
Environment:
- Node.js Version: 18.5
- Redis Server Version: 7.0.2
- Node Redis Version: 4.2
- Platform: Ubuntu 20.04.4