Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
1 files changed, 40 insertions, 3 deletions
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md
index a1ca5fa98c..7c4e742cd5 100644
--- a/docs/usage/configuration/config_documentation.md
+++ b/docs/usage/configuration/config_documentation.md
@@ -1447,7 +1447,7 @@ database:
args:
user: synapse_user
password: secretpassword
- database: synapse
+ dbname: synapse
host: localhost
port: 5432
cp_min: 5
@@ -1526,7 +1526,7 @@ databases:
args:
user: synapse_user
password: secretpassword
- database: synapse_main
+ dbname: synapse_main
host: localhost
port: 5432
cp_min: 5
@@ -1539,7 +1539,7 @@ databases:
args:
user: synapse_user
password: secretpassword
- database: synapse_state
+ dbname: synapse_state
host: localhost
port: 5432
cp_min: 5
@@ -1753,6 +1753,19 @@ rc_third_party_invite:
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:
+```yaml
+rc_media_create:
+ per_second: 10
+ burst_count: 50
+```
+---
### `rc_federation`
Defines limits on federation requests.
@@ -1814,6 +1827,27 @@ Example configuration:
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:
+```yaml
+max_pending_media_uploads: 5
+```
+---
+### `unused_expiration_time`
+
+How long to wait in milliseconds before expiring created media IDs. Defaults to
+"24h"
+
+Example configuration:
+```yaml
+unused_expiration_time: "1h"
+```
+---
### `media_storage_providers`
Media storage providers allow media to be stored in different
@@ -4219,6 +4253,9 @@ outbound_federation_restricted_to:
Also see the [worker
documentation](../../workers.md#restrict-outbound-federation-traffic-to-a-specific-set-of-workers)
for more info.
+
+_Added in Synapse 1.89.0._
+
---
### `run_background_tasks_on`
|