summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-09-26 15:16:02 +0100
committerNeil Johnson <neil@matrix.org>2018-09-26 15:16:02 +0100
commit0d14119d428c62ef57bc91912b86361db2c8e9c3 (patch)
tree9fe0c1191c86c5a8012bdf0c9c0a1f03565436c5 /synapse/api
parentMerge pull request #3927 from matrix-org/erikj/handle_background_errors (diff)
downloadsynapse-neilj/batch-unsert-mau-users.tar.xz
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/auth.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py

index 34382e4e3c..7d67ea8999 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py
@@ -822,6 +822,7 @@ class Auth(object): return # Else if there is no room in the MAU bucket, bail current_mau = yield self.store.get_monthly_active_count() + print ("auth check, current_mau %d" % current_mau) if current_mau >= self.hs.config.max_mau_value: raise ResourceLimitError( 403, "Monthly Active User Limit Exceeded",