Skip to content

Multi-Node Adapter Support

Compare
Choose a tag to compare
@ambelovsky ambelovsky released this 08 Jun 14:02
· 44 commits to master since this release

Added support for multi-node clustering with adapters. Example:

const Koa = require('koa');
const app = new Koa();
const redis = require('socket.io-redis');

io.attach(app);
io.adapter(redis({ host: 'localhost', port: 6379 }));