mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 03:32:12 -04:00
Add ratelimiting on joins
This commit is contained in:
parent
320ef98852
commit
18de00adb4
4 changed files with 72 additions and 2 deletions
|
@ -731,6 +731,10 @@ log_config: "CONFDIR/SERVERNAME.log.config"
|
|||
# - one for ratelimiting redactions by room admins. If this is not explicitly
|
||||
# set then it uses the same ratelimiting as per rc_message. This is useful
|
||||
# to allow room admins to deal with abuse quickly.
|
||||
# - two for ratelimiting number of rooms a user can join, "local" for when
|
||||
# users are joining rooms the server is already in (this is cheap) vs
|
||||
# "remote" for when users are trying to join rooms not on the server (which
|
||||
# can be more expensive)
|
||||
#
|
||||
# The defaults are as shown below.
|
||||
#
|
||||
|
@ -756,6 +760,14 @@ log_config: "CONFDIR/SERVERNAME.log.config"
|
|||
#rc_admin_redaction:
|
||||
# per_second: 1
|
||||
# burst_count: 50
|
||||
#
|
||||
#rc_joins:
|
||||
# local:
|
||||
# per_second: 0.1
|
||||
# burst_count: 3
|
||||
# remote:
|
||||
# per_second: 0.01
|
||||
# burst_count: 3
|
||||
|
||||
|
||||
# Ratelimiting settings for incoming federation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue