require newrelic as the first thing on startup

This commit is contained in:
Matteo Pagliazzi
2016-02-21 22:39:55 +01:00
parent f4d66c7384
commit d3e1a415a8
2 changed files with 2 additions and 3 deletions

View File

@@ -21,9 +21,6 @@ if (cores!==0 && cluster.isMaster && (isDev || isProd)) {
});
} else {
if (nconf.get('NODE_ENV') === 'production')
require('newrelic');
var express = require("express");
var http = require("http");
var path = require("path");