Skip to content

Commit

Permalink
nope
Browse files Browse the repository at this point in the history
  • Loading branch information
serkanyersen committed Jun 18, 2012
1 parent d749a4c commit 46f3814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Expand Up @@ -11,14 +11,14 @@ var sockets = {};
// If you are not going to use heroku just remove this block
// I need this because heroku does not support websockets
// so I have to force socket.io to long-polling
/*

if(os.hostname().match(/\d+\-\d+/)){
io.configure(function(){
io.set("transports", ["xhr-polling"]);
io.set("polling duration", 10);
});
}
*/



io.sockets.on('connection', function(socket) {
Expand Down

0 comments on commit 46f3814

Please sign in to comment.