Created
May 20, 2013 09:31
-
-
Save timusg/5611267 to your computer and use it in GitHub Desktop.
configure socket.io for heroku , using xsr-polling instead of websockets
This file contains hidden or 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
io.configure(function () { | |
io.set("transports", ["xhr-polling"]); | |
io.set("polling duration", 10); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment