Skip to content

Commit

Permalink
disable PING/PONG debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
kruckenb committed Dec 22, 2010
1 parent 6c68e6c commit 4bef36f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fugue.js
Expand Up @@ -472,11 +472,11 @@ exports.start = function(server, port, host, worker_count, options) {
ping_master_interval = setInterval(function() {
var ping_connection = net.createConnection(master_socket_path);
ping_connection.on('connect', function() {
console.log('PING');
//console.log('PING');
ping_connection.write("PING\n");
require('carrier').carry(ping_connection, function(response) {
if(response == 'PONG') {
console.log('PONG');
//console.log('PONG');
ping_connection.end();
}
});
Expand Down

0 comments on commit 4bef36f

Please sign in to comment.