diff options
author | Neil Johnson <neil@matrix.org> | 2018-08-01 11:46:59 +0100 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2018-08-01 11:46:59 +0100 |
commit | 2c54f1c225365cc1da363a270f7f8d201193bc4a (patch) | |
tree | b045e3f8a47f397dbba740fcc21f604f44965435 /synapse/app | |
parent | remove errant print (diff) | |
download | synapse-2c54f1c225365cc1da363a270f7f8d201193bc4a.tar.xz |
remove need to plot limit_usage_by_mau
Diffstat (limited to 'synapse/app')
-rwxr-xr-x | synapse/app/homeserver.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 2da60682ec..46325d8521 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -305,9 +305,6 @@ class SynapseHomeServer(HomeServer): # Gauges to expose monthly active user control metrics current_mau_gauge = Gauge("synapse_admin_current_mau", "Current MAU") max_mau_value_gauge = Gauge("synapse_admin_max_mau_value", "MAU Limit") -limit_usage_by_mau_gauge = Gauge( - "synapse_admin_limit_usage_by_mau", "MAU Limiting enabled" -) def setup(config_options): @@ -528,7 +525,6 @@ def run(hs): count = hs.get_datastore().count_monthly_users() current_mau_gauge.set(float(count)) max_mau_value_gauge.set(float(hs.config.max_mau_value)) - limit_usage_by_mau_gauge.set(float(hs.config.limit_usage_by_mau)) generate_monthly_active_users() if hs.config.limit_usage_by_mau: |