Merge pull request #1186 from jasonthomas/settings-enable-newrelic
Update NEWRELIC_ENABLE on -dev and stage.
This commit is contained in:
Коммит
522c490031
|
@ -213,7 +213,7 @@ LANGUAGE_URL_MAP = dict([(i.lower(), i) for i in AMO_LANGUAGES])
|
|||
|
||||
GOOGLE_ANALYTICS_DOMAIN = 'addons.mozilla.org'
|
||||
|
||||
NEWRELIC_ENABLE = False
|
||||
NEWRELIC_ENABLE = env.bool('NEWRELIC_ENABLE', default=False)
|
||||
|
||||
if NEWRELIC_ENABLE:
|
||||
NEWRELIC_INI = '/etc/newrelic.d/%s.ini' % DOMAIN
|
||||
|
|
|
@ -208,7 +208,7 @@ LANGUAGE_URL_MAP = dict([(i.lower(), i) for i in AMO_LANGUAGES])
|
|||
|
||||
GOOGLE_ANALYTICS_DOMAIN = 'addons.mozilla.org'
|
||||
|
||||
NEWRELIC_ENABLE = False
|
||||
NEWRELIC_ENABLE = env.bool('NEWRELIC_ENABLE', default=False)
|
||||
|
||||
if NEWRELIC_ENABLE:
|
||||
NEWRELIC_INI = '/etc/newrelic.d/%s.ini' % DOMAIN
|
||||
|
|
Загрузка…
Ссылка в новой задаче