mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-29 14:00:48 +08:00
"disable" rate limiting for rest users
This commit is contained in:
parent
450430d66c
commit
2449ddcfee
@ -364,11 +364,11 @@ log_config: "{{SYNAPSE_ROOT}}localhost.log.config"
|
|||||||
|
|
||||||
# Number of messages a client can send per second
|
# Number of messages a client can send per second
|
||||||
#
|
#
|
||||||
#rc_messages_per_second: 0.2
|
rc_messages_per_second: 10000
|
||||||
|
|
||||||
# Number of message a client can send before being throttled
|
# Number of message a client can send before being throttled
|
||||||
#
|
#
|
||||||
#rc_message_burst_count: 10.0
|
rc_message_burst_count: 10000
|
||||||
|
|
||||||
# Ratelimiting settings for registration and login.
|
# Ratelimiting settings for registration and login.
|
||||||
#
|
#
|
||||||
@ -389,20 +389,20 @@ log_config: "{{SYNAPSE_ROOT}}localhost.log.config"
|
|||||||
#
|
#
|
||||||
# The defaults are as shown below.
|
# The defaults are as shown below.
|
||||||
#
|
#
|
||||||
#rc_registration:
|
rc_registration:
|
||||||
# per_second: 0.17
|
per_second: 10000
|
||||||
# burst_count: 3
|
burst_count: 10000
|
||||||
#
|
|
||||||
#rc_login:
|
rc_login:
|
||||||
# address:
|
address:
|
||||||
# per_second: 0.17
|
per_second: 10000
|
||||||
# burst_count: 3
|
burst_count: 10000
|
||||||
# account:
|
account:
|
||||||
# per_second: 0.17
|
per_second: 10000
|
||||||
# burst_count: 3
|
burst_count: 10000
|
||||||
# failed_attempts:
|
failed_attempts:
|
||||||
# per_second: 0.17
|
per_second: 10000
|
||||||
# burst_count: 3
|
burst_count: 10000
|
||||||
|
|
||||||
# The federation window size in milliseconds
|
# The federation window size in milliseconds
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user