From 5686bbe68ffb2721328d0d5f2e75f8b85938c2a7 Mon Sep 17 00:00:00 2001 From: Nathan Bergey Date: Thu, 21 Mar 2013 21:14:21 -0700 Subject: [PATCH] newrelic profiling --- Procfile | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 5ce9885..6227a32 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: gunicorn app:app -b "0.0.0.0:$PORT" -w 8 +web: newrelic-admin run-program gunicorn -b "0.0.0.0:$PORT" -w 9 app:app diff --git a/requirements.txt b/requirements.txt index b521f5f..d3cff36 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ Werkzeug==0.8.3 argparse==1.2.1 distribute==0.6.24 gunicorn==0.17.2 +newrelic==1.10.2.38 pyephem==3.7.5.1 redis==2.7.2 wsgiref==0.1.2