summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2025-02-11 14:39:12 +0700
committerGitHub <noreply@github.com>2025-02-11 14:39:12 +0700
commitc1815bf5a10629efc0f7f2b1c073e14d5b0e8f57 (patch)
treec1ef9a18dd60bfc82145ee549f738196df571fbd
parentBump types-pyyaml from 6.0.12.20240917 to 6.0.12.20241230 (#18097) (diff)
downloadsynapse-c1815bf5a10629efc0f7f2b1c073e14d5b0e8f57.tar.xz
Add `rc_presence` ratelimiting config to demo/start.sh (#18145)
Missed in https://github.com/element-hq/synapse/pull/18000
-rw-r--r--changelog.d/18145.bugfix1
-rwxr-xr-xdemo/start.sh4
2 files changed, 5 insertions, 0 deletions
diff --git a/changelog.d/18145.bugfix b/changelog.d/18145.bugfix
new file mode 100644

index 0000000000..ad9d353834 --- /dev/null +++ b/changelog.d/18145.bugfix
@@ -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. \ No newline at end of file diff --git a/demo/start.sh b/demo/start.sh
index 06ec6f985f..7636c41f1f 100755 --- a/demo/start.sh +++ b/demo/start.sh
@@ -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"