Ive tried using the redis adapter as specified in the docs in combination with the socket.io-emitter in a different process and while the socket.io-emitter is working, and even redis is receiving data, the actual socket.io server is not picking up any events emitted to it.
Redis is connected, its receiving data, and socket.io-emitter is obviously working or else redis wouldn't receive data in redis-cli monitor
var server = require('http').Server();
var io = require('socket.io')(server);
var redis = require('socket.io-redis');
io.adapter(redis({ host: 'localhost', port: 6379 }));
server.listen(8080);
that is the code i'm using. Whats wrong?
Ive tried using the redis adapter as specified in the docs in combination with the socket.io-emitter in a different process and while the socket.io-emitter is working, and even redis is receiving data, the actual socket.io server is not picking up any events emitted to it.
Redis is connected, its receiving data, and socket.io-emitter is obviously working or else redis wouldn't receive data in redis-cli monitor
var server = require('http').Server();
var io = require('socket.io')(server);
var redis = require('socket.io-redis');
io.adapter(redis({ host: 'localhost', port: 6379 }));
server.listen(8080);
that is the code i'm using. Whats wrong?