Skip to content

Commit

Permalink
camelCasing mgmt_server to mgmtServer
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Barczak committed Oct 11, 2011
1 parent d2c7540 commit b02dbf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var dgram = require('dgram')

var counters = {};
var timers = {};
var debugInt, flushInt, server, mgmt_server;
var debugInt, flushInt, server, mgmtServer;
var startup_time = Math.round(new Date().getTime() / 1000);

var stats = {
Expand Down Expand Up @@ -72,7 +72,7 @@ config.configFile(process.argv[2], function (config, oldConfig) {
stats['messages']['last_msg_seen'] = Math.round(new Date().getTime() / 1000);
});

mgmt_server = net.createServer(function(stream) {
mgmtServer = net.createServer(function(stream) {
stream.setEncoding('ascii');

stream.on('data', function(data) {
Expand Down Expand Up @@ -129,7 +129,7 @@ config.configFile(process.argv[2], function (config, oldConfig) {
});

server.bind(config.port || 8125);
mgmt_server.listen(config.mgmt_port || 8126);
mgmtServer.listen(config.mgmt_port || 8126);

var flushInterval = Number(config.flushInterval || 10000);

Expand Down

0 comments on commit b02dbf3

Please sign in to comment.