-
Notifications
You must be signed in to change notification settings - Fork 40
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
Apply ioredis, and add has redis cluster condition #50
Apply ioredis, and add has redis cluster condition #50
Conversation
Came across this problem and the fact that |
I'll take care of this now |
@galaxybing @vampolo could you guys please add docs to README.md to show people how to do cluster support once I release this version? |
Thank you very much. The version in this PR is a bit outdated but should do the job. I'll open a PR with a bump in version for ioredis |
@vampolo I will bump deps now |
@DaAwesomeP @dead-horse could you please grant me NPM owner on GitHub?
|
@@ -16,6 +16,7 @@ | |||
var EventEmitter = require('events').EventEmitter; | |||
var debug = require('debug')('koa-redis'); | |||
var redis = require('redis'); | |||
var ioredis = require("ioredis"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to switch to ioredis and remove redis, then we can release a major version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take care of this now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@niftylettuce added. |
I've added the docs now and will be pushing soon for major release |
I've just released v4.0.0 which has support for Clusters and Sentinels. Please see updated docs and examples at https://github.com/koajs/koa-redis#koa-redis |
No description provided.