Sails Socket adapter 'Redis' not talking with Redis

188 views Asked by At

How to achieve redis pubsub in sails, where redis and sails should communicate each other.

I am using sails 0.11.0 and my sails.socket config.

adapter: 'socket.io-redis', host: 'localhost', port: 6379,

to achieve redis as my socket store, where User.publishCreate and redis.on('user', msg).. i assume this two will communicate...

0

There are 0 answers