nr fix - seedlinux - Torrent indexing tool opensource torrents with share ratio's etc.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 44df8657953f43f9514a953ddc9225c3904b4be1
 (DIR) parent 2861a2c16e5c6aade1cba0c4bc76b820d6367203
 (HTM) Author: Jay Scott <jay@jayscott.co.uk>
       Date:   Thu,  6 Jul 2017 20:37:25 +0100
       
       nr fix
       
       Diffstat:
         M app.js                              |       4 ++++
         D newrelic.js                         |      26 --------------------------
       
       2 files changed, 4 insertions(+), 26 deletions(-)
       ---
 (DIR) diff --git a/app.js b/app.js
       @@ -1,5 +1,9 @@
        'use strict'; 
        
       +if(process.env.NODE_ENV === 'production') { 
       +  require('newrelic');
       +}
       +
        const express = require('express');
        const path = require('path');
        const logger = require('morgan');
 (DIR) diff --git a/newrelic.js b/newrelic.js
       @@ -1,26 +0,0 @@
       -'use strict';
       -
       -/**
       - * New Relic agent configuration.
       - *
       - * See lib/config.default.js in the agent distribution for a more complete
       - * description of configuration variables and their potential values.
       - */
       -exports.config = {
       -  /**
       -   * Array of application names.
       -   */
       -  app_name: ['seedlinux'],
       -  /**
       -   * Your New Relic license key.
       -   */
       -  license_key: process.env.NR_KEY,
       -  logging: {
       -    /**
       -     * Level at which to log. 'trace' is most useful to New Relic when diagnosing
       -     * issues with the agent, 'info' and higher will impose the least overhead on
       -     * production applications.
       -     */
       -    level: 'info'
       -  }
       -}