mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:46:01 -04:00
Increase default max_upload_size from 10M to 50M (#8502)
Signed-off-by: Mateusz Przybyłowicz <uamfhq@gmail.com>
This commit is contained in:
parent
1781bbe319
commit
ca2db5dd0c
5 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue