Skip to content

Conversation

damianof
Copy link

Added support for redis sentinel.
Please note, changed the structured of options. Need to pass both redis and sentinel information in a dbConfig section.
Also note that here the name of the package is "redis-sentinel-notifier" and version is 0.3.0 as I was planning to publish on npm fo rmy own use. However, if this pull request is accepted, please keep the original name redis-notifier (if you think that is better).
Thank you

From README file
Here I added support for redis sentinel.
The configuration options for the database are structured differently than in the original.
I will also create a pull request for this change on https://github.com/iamchrismiller/redis-notifier
You need to pass redis-sentinel to this if you plan to use sentinel, otherwise pass null or undefined.
TODO: need to add unit tests using sentinel.

Here I added support for redis sentinel.
The configuration options for the database are structured differently than in the original.
I will also create a pull request for this change on https://github.com/iamchrismiller/redis-notifier
You need to pass redis-sentinel to this if you plan to use sentinel, otherwise pass null or undefined.
TODO: need to add unit tests using sentinel.
@iamchrismiller
Copy link
Owner

I'll take a look at this tonight! Thanks

@iamchrismiller
Copy link
Owner

Sorry for not getting around to this earlier. Can you add unit tests and I will accept this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants