From 63c7bec03de54c6e9b8f0c248a984db09d5a2493 Mon Sep 17 00:00:00 2001 From: clokep Date: Wed, 15 Nov 2023 14:20:26 +0000 Subject: deploy: 999bd77d3abb7b0a4430f31f5912956c3bc100ee --- .../usage/configuration/config_documentation.html | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'develop/usage/configuration/config_documentation.html') diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html index 2a9f8bc0b2..965b31e136 100644 --- a/develop/usage/configuration/config_documentation.html +++ b/develop/usage/configuration/config_documentation.html @@ -1665,6 +1665,16 @@ sending the invite. Defaults to per_second: 0.2, burst_count: burst_count: 10
+

rc_media_create

+

This option ratelimits creation of MXC URIs via the /_matrix/media/v1/create +endpoint based on the account that's creating the media. Defaults to +per_second: 10, burst_count: 50.

+

Example configuration:

+
rc_media_create:
+  per_second: 10
+  burst_count: 50
+
+

rc_federation

Defines limits on federation requests.

The rc_federation configuration has the following sub-options:

@@ -1713,6 +1723,21 @@ Set to false if you are using a separate media store worker.

media_store_path: "DATADIR/media_store"
 

+

max_pending_media_uploads

+

How many pending media uploads can a given user have? A pending media upload +is a created MXC URI that (a) is not expired (the unused_expires_at timestamp +has not passed) and (b) the media has not yet been uploaded for. Defaults to 5.

+

Example configuration:

+
max_pending_media_uploads: 5
+
+
+

unused_expiration_time

+

How long to wait in milliseconds before expiring created media IDs. Defaults to +"24h"

+

Example configuration:

+
unused_expiration_time: "1h"
+
+

media_storage_providers

Media storage providers allow media to be stored in different locations. Defaults to none. Associated sub-options are:

-- cgit 1.5.1