Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Fix issue #18
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMcLear committed May 21, 2012
1 parent 8da6e43 commit 91151ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ function requestLog(code, path, desc)

//var io = io.listen(server);
var io = require('socket.io').listen(server)
io.enable('browser client minification'); // send minified client
io.enable('browser client etag'); // apply etag caching logic based on version number
io.enable('browser client gzip'); // gzip the file
io.set("polling duration", 10); // allow for long polling
io.set('log level', 1); // reduce logging

var messageHandler = require("./MessageHandler");
messageHandler.setSocketIO(io);
Expand Down

0 comments on commit 91151ca

Please sign in to comment.