diff options
author | Neil Johnson <neil@matrix.org> | 2019-10-24 11:48:46 +0100 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-10-24 11:48:46 +0100 |
commit | 2794b79052f96b8103ce2b710959853313a82e90 (patch) | |
tree | c7741a1e807878cba3a13d7fe90f79e0dc308db4 /synapse/api/constants.py | |
parent | Cleanup extra quotes from IDEs (#6236) (diff) | |
download | synapse-2794b79052f96b8103ce2b710959853313a82e90.tar.xz |
Option to suppress resource exceeded alerting (#6173)
The expected use case is to suppress MAU limiting on small instances
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r-- | synapse/api/constants.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 60e99e4663..312196675e 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -131,3 +131,10 @@ class RelationTypes(object): ANNOTATION = "m.annotation" REPLACE = "m.replace" REFERENCE = "m.reference" + + +class LimitBlockingTypes(object): + """Reasons that a server may be blocked""" + + MONTHLY_ACTIVE_USER = "monthly_active_user" + HS_DISABLED = "hs_disabled" |