From a0d6469069d0bd2b1aed2b0c78606d02ebb15ae9 Mon Sep 17 00:00:00 2001 From: Kim Brose <2803622+HarHarLinks@users.noreply.github.com> Date: Thu, 17 Jul 2025 14:54:33 +0000 Subject: [PATCH] fix schema and docs of `rc_delayed_event_mgmt` (#18692) Signed-off-by: Kim Brose --- changelog.d/18692.doc | 1 + docs/usage/configuration/config_documentation.md | 5 ++--- schema/synapse-config.schema.yaml | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 changelog.d/18692.doc diff --git a/changelog.d/18692.doc b/changelog.d/18692.doc new file mode 100644 index 0000000000..1514ef6fb8 --- /dev/null +++ b/changelog.d/18692.doc @@ -0,0 +1 @@ +Update `rc_delayed_event_mgmt` docs to the actual nesting level. Contributed by @HarHarLinks. diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md index 6918559dea..e47a32f510 100644 --- a/docs/usage/configuration/config_documentation.md +++ b/docs/usage/configuration/config_documentation.md @@ -1925,9 +1925,8 @@ This setting has the following sub-options: Default configuration: ```yaml rc_delayed_event_mgmt: - per_user: - per_second: 1.0 - burst_count: 5.0 + per_second: 1.0 + burst_count: 5.0 ``` Example configuration: diff --git a/schema/synapse-config.schema.yaml b/schema/synapse-config.schema.yaml index d9a5a98496..9a244856e6 100644 --- a/schema/synapse-config.schema.yaml +++ b/schema/synapse-config.schema.yaml @@ -2179,9 +2179,8 @@ properties: with a short timeout, or restarting several different delayed events all at once) without the risk of being ratelimited. default: - per_user: - per_second: 1.0 - burst_count: 5.0 + per_second: 1.0 + burst_count: 5.0 examples: - per_second: 2.0 burst_count: 20.0