-
Notifications
You must be signed in to change notification settings - Fork 34
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
建议增加db选项,可以实现配置中选择db #7
Comments
这个建议不错,建议官方采纳 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this.redis.once('ready', function(err) {
if (!!err) {
cb(err);
} else {
self.redis.select(self.db, cb);
}
});
配置中可以使用db
prefix: 'globalChannel',
host: '127.0.0.1',
port: 6379,
db:3,
cleanOnStartUp: true
The text was updated successfully, but these errors were encountered: