Add rc_presence ratelimiting config to demo/start.sh (#18145)

Missed in https://github.com/element-hq/synapse/pull/18000
This commit is contained in:
Andrew Morgan authored and GitHub committed 2025-02-11 14:39:12 +07:00
1 parent 703f2e8c43
commit c1815bf5a1
2 files changed
+5

No files matched your search

+1
View File
@@ -0,0 +1 @@
Add rate limit `rc_presence.per_user`. This prevents load from excessive presence updates sent by clients via sync api. Also rate limit `/_matrix/client/v3/presence` as per the spec. Contributed by @rda0.
+4
View File
@@ -138,6 +138,10 @@ for port in 8080 8081 8082; do
per_user:
per_second: 1000
burst_count: 1000
rc_presence:
per_user:
per_second: 1000
burst_count: 1000
RC
)
echo "${ratelimiting}" >> "$port.config"