You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage/configuration/config_documentation.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2168,9 +2168,12 @@ max_upload_size: 60M
2168
2168
### `media_upload_limits`
2169
2169
2170
2170
*(array)* A list of media upload limits defining how much data a given user can upload in a given time period.
2171
+
These limits are applied in addition to the `max_upload_size` limit above (which applies to individual uploads).
2171
2172
2172
2173
An empty list means no limits are applied.
2173
2174
2175
+
These settings can be overridden using the `get_media_upload_limits_for_user` module API [callback](../../modules/media_repository_callbacks.md#get_media_upload_limits_for_user).
"""A limit on the amount of data a user can upload in a given time
124
-
period."""
123
+
"""
124
+
Represents a limit on the amount of data a user can upload in a given time
125
+
period.
126
+
127
+
These can be configured through the `media_upload_limits` [config option](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#media_upload_limits)
128
+
or via the `get_media_upload_limits_for_user` module API [callback](https://element-hq.github.io/synapse/latest/modules/media_repository_callbacks.html#get_media_upload_limits_for_user).
129
+
"""
125
130
126
131
max_bytes: int
132
+
"""The maximum number of bytes that can be uploaded in the given time period."""
0 commit comments