Skip to content
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

feat: implement nodes method in cluster mock #1260

Merged
merged 4 commits into from
Mar 28, 2023
Merged

feat: implement nodes method in cluster mock #1260

merged 4 commits into from
Mar 28, 2023

Conversation

egmzy
Copy link
Contributor

@egmzy egmzy commented Mar 28, 2023

In the ioredis package there is a Cluster.nodes('all' | 'slave' | 'master') method which is not supported here.
I implemented a short solution with an option to get master and slave nodes in the future.

Copy link
Owner

@stipsan stipsan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thnx! :D

src/index.js Outdated Show resolved Hide resolved
@stipsan stipsan merged commit 7224f09 into stipsan:main Mar 28, 2023
@github-actions
Copy link
Contributor

🎉 This PR is included in version 8.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants