Add NEWRELIC_CONFIG_PATH config

This commit is contained in:
Son Nguyen Kim 2021-07-23 15:47:33 +02:00
parent 4f4d487e28
commit 8ab840933f
2 changed files with 6 additions and 1 deletions

View File

@ -392,3 +392,5 @@ try:
except Exception:
HIBP_SCAN_INTERVAL_DAYS = 7
HIBP_API_KEYS = sl_getenv("HIBP_API_KEYS", list) or []
NEWRELIC_CONFIG_PATH = os.environ.get("NEWRELIC_CONFIG_PATH")

View File

@ -174,4 +174,7 @@ DISABLE_ONBOARDING=true
# Have I Been Pwned
# HIBP_SCAN_INTERVAL_DAYS = 7
# HIBP_API_KEYS=[]
# HIBP_API_KEYS=[]
# NewRelic Config File Path
# NEWRELIC_CONFIG_PATH = /path/newrelic.ini