config newrelic

This commit is contained in:
Matteo Pagliazzi
2016-02-21 22:30:25 +01:00
parent 4dfb24af6e
commit f4d66c7384
3 changed files with 30 additions and 2 deletions

View File

@@ -21,6 +21,9 @@ 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");