NetEase/pomelo-globalchannel-plugin — pull request #1 by jiangzhuo (2013-12-12 03:28:59+00:00)
Title: Update package.json

使用任意版本或者最新版的redis 0.8.4還不支持在createClient的時候auth
更新到新版可以
require(redis).createClient(port, host, {auth_pass: XXXXX})

對於global和status 就這樣就可以了
app.use(globalChannel, {globalChannel: {
host: '127.0.0.1',
port: 27017,
auth_pass: "password"
}});
app.use(status, {status: {
host: '127.0.0.1',
port: 27017,
auth_pass: "password"
}});