-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createClient not work after quit #63
Comments
This code also reproduces the bugconst redis = require('async-redis');
let client1 = redis.createClient("redis://localhost:6379"),
client2 = redis.createClient("redis://localhost:6379");
console.log(
client1.__redisClient === client2.__redisClient
) // true when it it supposed to be false
;(async () => {
await client1.quit()
await client2.info()
})(); Looks like this happen due to the following lines Lines 13 to 15 in fef4248
using Maybe using a Symbol or some uuid ( |
I just notice that this issue is the same as of #61 |
Node: v12.18.2
redis: 5.0.5 (docker image)
async-redis: 2.0.0
Error occur as " AbortError: BLPOP can't be processed. The connection is already closed. "
This is ample code where an error occurs.
But below code work well.
There seems to be a problem with clients with the same option as they connected before.
is it bug?
The text was updated successfully, but these errors were encountered: