diff --git a/changelog.d/18692.doc b/changelog.d/18692.doc new file mode 100644 index 000000000..1514ef6fb --- /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 6918559de..e47a32f51 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 d9a5a9849..9a244856e 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