diff options
author | Neil Johnson <neil@fragile.org.uk> | 2018-08-16 22:55:32 +0100 |
---|---|---|
committer | Neil Johnson <neil@fragile.org.uk> | 2018-08-16 22:55:32 +0100 |
commit | bcfeb44afe750dadd4199e7c02302b0157bdab11 (patch) | |
tree | a2c3bb85b247336c67f5a1dd653ee91c086bfc39 /synapse/api | |
parent | block event creation and room creation on hitting resource limits (diff) | |
download | synapse-bcfeb44afe750dadd4199e7c02302b0157bdab11.tar.xz |
call reap on start up and fix under reaping bug
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 3b2a2ab77a..ab1e3a4e35 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -799,7 +799,7 @@ class Auth(object): current_mau = yield self.store.get_monthly_active_count() if current_mau >= self.hs.config.max_mau_value: raise AuthError( - 403, "Monthly Active User Limits AU Limit Exceeded", + 403, "Monthly Active User Limit Exceeded", admin_uri=self.hs.config.admin_uri, errcode=Codes.RESOURCE_LIMIT_EXCEED ) |