Skip to content

建议增加db选项,可以实现配置中选择db #7

@zj8487

Description

@zj8487

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions