You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried same piece of code in single redis mode and it worked.
Here is my snippet:
varcluster=newRedis.Cluster([{port: 30001,host: '127.0.0.1'}]);cluster.subscribe('news',function(err,count){// this is called});cluster.on('message',function(channel,message){// this is not firedconsole.log('Receive message %s from channel %s',message,channel);});
I publish message via redis-cli
PUBLISH news something
The text was updated successfully, but these errors were encountered:
Problem should be here:
https://github.com/luin/ioredis/blob/master/lib/redis/prototype/parser.js#L78
I tried same piece of code in single redis mode and it worked.
Here is my snippet:
I publish message via redis-cli
The text was updated successfully, but these errors were encountered: