0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-09-26 19:49:01 +02:00

Update comment

This commit is contained in:
Mark Haines 2016-08-22 16:17:31 +01:00
parent c8f9b45bc2
commit 689f4cb914

View file

@ -415,7 +415,8 @@ def run(hs):
stats.pop("daily_messages", None)
if first_time:
# Report the stats as synapse metrics.
# Add callbacks to report the synapse stats as metrics whenever
# prometheus requests them, typically every 30s.
# As some of the stats are expensive to calculate we only update
# them when synapse phones home to matrix.org every 24 hours.
metrics = get_metrics_for("synapse.usage")