mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
server limits config docs
This commit is contained in:
parent
13ad9930c8
commit
0195dfbf52
@ -341,6 +341,32 @@ class ServerConfig(Config):
|
|||||||
# - port: 9000
|
# - port: 9000
|
||||||
# bind_addresses: ['::1', '127.0.0.1']
|
# bind_addresses: ['::1', '127.0.0.1']
|
||||||
# type: manhole
|
# type: manhole
|
||||||
|
|
||||||
|
|
||||||
|
# Homeserver blocking
|
||||||
|
#
|
||||||
|
# How to reach the server admin, used in ResourceLimitError
|
||||||
|
# admin_uri: 'mailto:admin@server.com'
|
||||||
|
#
|
||||||
|
# Global block config
|
||||||
|
#
|
||||||
|
# hs_disabled: False
|
||||||
|
# hs_disabled_message: 'Human readable reason for why the HS is blocked'
|
||||||
|
# hs_disabled_limit_type: 'error code(str), to help clients decode reason'
|
||||||
|
#
|
||||||
|
# Monthly Active User Blocking
|
||||||
|
#
|
||||||
|
# Enables monthly active user checking
|
||||||
|
# limit_usage_by_mau: False
|
||||||
|
# max_mau_value: 50
|
||||||
|
#
|
||||||
|
# Sometimes the server admin will want to ensure certain accounts are
|
||||||
|
# never blocked by mau checking. These accounts are specified here.
|
||||||
|
#
|
||||||
|
# mau_limit_reserved_threepids:
|
||||||
|
# - medium: 'email'
|
||||||
|
# address: 'reserved_user@example.com'
|
||||||
|
|
||||||
""" % locals()
|
""" % locals()
|
||||||
|
|
||||||
def read_arguments(self, args):
|
def read_arguments(self, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user