diff options
author | Mateusz PrzybyĆowicz <uamfhq@gmail.com> | 2020-10-09 17:58:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 16:58:23 +0100 |
commit | ca2db5dd0c9fc430a931b4d456fea6a5300b8b42 (patch) | |
tree | 5098c681a074d3a0c5c938f4b2e15feadd3652e8 /synapse/config | |
parent | Add type hints to response cache. (#8507) (diff) | |
download | synapse-ca2db5dd0c9fc430a931b4d456fea6a5300b8b42.tar.xz |
Increase default max_upload_size from 10M to 50M (#8502)
Signed-off-by: Mateusz PrzybyĆowicz <uamfhq@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | synapse/config/repository.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/repository.py b/synapse/config/repository.py index 01009f3924..ba1e9d2361 100644 --- a/synapse/config/repository.py +++ b/synapse/config/repository.py @@ -100,7 +100,7 @@ class ContentRepositoryConfig(Config): "media_instance_running_background_jobs", ) - self.max_upload_size = self.parse_size(config.get("max_upload_size", "10M")) + self.max_upload_size = self.parse_size(config.get("max_upload_size", "50M")) self.max_image_pixels = self.parse_size(config.get("max_image_pixels", "32M")) self.max_spider_size = self.parse_size(config.get("max_spider_size", "10M")) @@ -242,7 +242,7 @@ class ContentRepositoryConfig(Config): # The largest allowed upload size in bytes # - #max_upload_size: 10M + #max_upload_size: 50M # Maximum number of pixels that will be thumbnailed # |