Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit b0617e3

Browse files
committed
config: add option for max pending media uploads
Signed-off-by: Sumner Evans <[email protected]>
1 parent 1d18571 commit b0617e3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/usage/configuration/config_documentation.md

+11
Original file line numberDiff line numberDiff line change
@@ -1764,6 +1764,17 @@ Example configuration:
17641764
media_store_path: "DATADIR/media_store"
17651765
```
17661766
---
1767+
### `max_pending_media_uploads`
1768+
1769+
How many *pending media uploads* can a given user have? A pending media upload
1770+
is a created MXC URI that (a) is not expired (the `unused_expires_at` timestamp
1771+
has not passed) and (b) the media has not yet been uploaded for. Defaults to 5.
1772+
1773+
Example configuration:
1774+
```yaml
1775+
max_pending_media_uploads: 5
1776+
```
1777+
---
17671778
### `unused_expiration_time`
17681779

17691780
How long to wait in milliseconds before expiring created media IDs. Defaults to

0 commit comments

Comments
 (0)