Skip to content
Snippets Groups Projects
Commit 55c04e96 authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Merge pull request #2203 from mozilla/env-var-for-kpi-url

can configure kpi datastore url with env var

Logically the same as what was previously there.  

r+
parents 36b0c9ae 8405da13
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,11 @@ var conf = module.exports = convict({
format: 'number = 0.0',
env: 'KPI_BACKEND_SAMPLE_RATE'
},
kpi_backend_db_url: 'string = "http://localhost/wsapi/interaction_data"',
kpi_backend_db_url: {
doc: "URL of KPiggyBank service to send Key Performance Indicator data to",
format: 'string = "http://localhost/wsapi/interaction_data"',
env: 'KPI_BACKEND_DB_URL'
},
bcrypt_work_factor: {
doc: "How expensive should we make password checks (to mitigate brute force attacks) ? Each increment is 2x the cost.",
format: 'integer{6,20} = 12',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment