Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created November 21, 2012 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/4124430 to your computer and use it in GitHub Desktop.
Save cleverca22/4124430 to your computer and use it in GitHub Desktop.
var io = require('socket.io');
var redis_options = {}; // read https://github.com/LearnBoost/socket.io/blob/master/lib/stores/redis.js
var store = new io.RedisStore(redis_options);
var server = io.listen(http_server,{store:store});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment