Skip to content

Commit

Permalink
fix(socket): Set heartbeat interval correctly - fixes #499
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed Mar 8, 2015
1 parent 0ba1748 commit 7621c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sockets.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports.init = function (server, clientEvents, bs) {
// Override default namespace.
io.sockets = io.of(socketConfig.namespace || "/browser-sync");

io.set("heartbeat interval", socketConfig.clients.heartbeatTimeout / 1000);
io.set("heartbeat interval", socketConfig.clients.heartbeatTimeout);

var steward = new Steward(emitter);

Expand Down

0 comments on commit 7621c0d

Please sign in to comment.