Created
November 21, 2012 11:25
-
-
Save cleverca22/4124430 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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