Honor the SYNAPSE_REPORT_STATS parameter in the Docker image

pull/2846/head
kaiyou 2018-02-08 20:46:11 +01:00
parent 914a59cb8c
commit a0af0054ec
1 changed files with 5 additions and 0 deletions

View File

@ -156,8 +156,13 @@ trusted_third_party_id_servers:
## Metrics ###
{% if SYNAPSE_REPORT_STATS.lower() == "yes" %}
enable_metrics: True
report_stats: True
{% else %}
enable_metrics: False
report_stats: False
{% endif %}
## API Configuration ##