diff --git a/package.json b/package.json index c531b9eaba..c50623a792 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,6 @@ "version": "0.0.0-152", "main": "./website/src/server.js", "dependencies": { - "active-handles": "^1.1.0", "amazon-payments": "0.0.4", "amplitude": "^2.0.3", "async": "~0.9.0", diff --git a/website/src/server.js b/website/src/server.js index 098a16ae3a..ea2907a499 100644 --- a/website/src/server.js +++ b/website/src/server.js @@ -12,7 +12,6 @@ var isProd = nconf.get('NODE_ENV') === 'production'; var isDev = nconf.get('NODE_ENV') === 'development'; var DISABLE_LOGGING = nconf.get('DISABLE_REQUEST_LOGGING'); var cores = +nconf.get("WEB_CONCURRENCY") || 0; -var activeHandles = require('active-handles'); var moment = require('moment'); if (cores!==0 && cluster.isMaster && (isDev || isProd)) { @@ -165,12 +164,4 @@ if (cores!==0 && cluster.isMaster && (isDev || isProd)) { }); module.exports = server; - - var logHandlesInterval = +nconf.get('LOG_HANDLES_INTERVAL'); - if (logHandlesInterval) { var activeHandleInterval = setInterval(logHandles, logHandlesInterval); } - - function logHandles() { - console.log(moment().format()); - activeHandles.print({highlight:false}); - } }