-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[question] Disconnect from cluster #277
Comments
Anyone help please? |
Sorry I didn't notice this issue. Could you enable the debug mode ( |
Thank you for the details. It seems that hosts |
Thanks for the quick reply. I am not sure about the cluster setup because it is our system admins who set it up. However, when I change the version to "1.15.1". The exact same code works. Could it be a bug in v2.0.0? |
Yes, it might be a bug if the code works with v1.15.1. I'll look into it this weekend. |
@devnetf This issue should be fixed in v2.0.0-rc2. Feel free to reopen it if the issue still exists. Thank you for the feedback! |
Hello,
I have the following test code:
`cluster.get('status').then(function(res){
console.log(res);
console.log(cluster.status);
cluster.disconnect();
});
setInterval(function(){
console.log(cluster.status);
}, 1000);`
After cluster.disconnect(); is called, cluster.status still give me "ready". How should I disconnect from the cluster?
Thanks!
The text was updated successfully, but these errors were encountered: