mirror of
https://github.com/element-hq/synapse.git
synced 2026-09-10 13:46:19 +00:00
Regressed in #17543. The `max_download_size` config is not available on workers that don't load the media repo. Besides, we should honour the max_size param that was passed into the function.