diff options
author | Erik Johnston <erik@matrix.org> | 2021-01-28 17:39:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 17:39:21 +0000 |
commit | 4b73488e811714089ba447884dccb9b6ae3ac16c (patch) | |
tree | 2b6b6f17587e78d5d0e7cc4c0df84356f62f531a /docs/sample_config.yaml | |
parent | Cache config options in SSL verification (#9255) (diff) | |
download | synapse-4b73488e811714089ba447884dccb9b6ae3ac16c.tar.xz |
Ratelimit 3PID /requestToken API (#9238)
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r-- | docs/sample_config.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index c2ccd68f3a..e5b6268087 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -824,6 +824,7 @@ log_config: "CONFDIR/SERVERNAME.log.config" # 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) +# - one for ratelimiting how often a user or IP can attempt to validate a 3PID. # # The defaults are as shown below. # @@ -857,7 +858,10 @@ log_config: "CONFDIR/SERVERNAME.log.config" # remote: # per_second: 0.01 # burst_count: 3 - +# +#rc_3pid_validation: +# per_second: 0.003 +# burst_count: 5 # Ratelimiting settings for incoming federation # |