-
Notifications
You must be signed in to change notification settings - Fork 171
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
Configure Redis DB # explicitly? #298
Comments
For anyone else curious about the same functionality, at this point I am manually selecting the DB # on my ioredis await this.redisClient.select(8);
await this.redlock.using(ids, lockDuration, func); My only remaining concern is that I intended to share the In the meantime, I have initialized another bespoke instance of the I would like to see a configurable |
How can I choose which Redis DB number is used by node-redlock?
I have a perfectly good redis instance I'd like to use for redlock, but I don't want to pollute the data in DB #0 and I'd like to configure node-redlock to use another DB. Is this possible?
The text was updated successfully, but these errors were encountered: