mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-06 18:42:02 +00:00
Honor the SYNAPSE_REPORT_STATS parameter in the Docker image
This commit is contained in:
parent
914a59cb8c
commit
a0af0054ec
@ -156,8 +156,13 @@ trusted_third_party_id_servers:
|
|||||||
|
|
||||||
## Metrics ###
|
## Metrics ###
|
||||||
|
|
||||||
|
{% if SYNAPSE_REPORT_STATS.lower() == "yes" %}
|
||||||
|
enable_metrics: True
|
||||||
|
report_stats: True
|
||||||
|
{% else %}
|
||||||
enable_metrics: False
|
enable_metrics: False
|
||||||
report_stats: False
|
report_stats: False
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
## API Configuration ##
|
## API Configuration ##
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user