mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-08 06:41:57 +00:00
![Patrick Cloke](/assets/img/avatar_default.png)
This reduces the memory usage of previewing media files which end up larger than the `max_spider_size` by avoiding buffering content internally in treq. It also checks the `Content-Length` header in additional places instead of streaming the content to check the body length.
2 lines
118 B
Plaintext
2 lines
118 B
Plaintext
Reduce the amount of memory used when generating the URL preview of a file that is larger than the `max_spider_size`.
|