summary refs log tree commit diff
path: root/tests/util/test_retryutils.py
diff options
context:
space:
mode:
authorMichael Telatynski <7t3chguy@gmail.com>2021-05-21 17:31:59 +0100
committerGitHub <noreply@github.com>2021-05-21 18:31:59 +0200
commite8ac9ac8ca18fe3456bfeba7a5883be1c991b2a6 (patch)
treecca5f1b743efe6963679018cf940a3985631b1cf /tests/util/test_retryutils.py
parentAdd a test for update_presence (#10033) (diff)
downloadsynapse-e8ac9ac8ca18fe3456bfeba7a5883be1c991b2a6.tar.xz
Fix /upload 500'ing when presented a very large image (#10029)
* Fix /upload 500'ing when presented a very large image

Catch DecompressionBombError and re-raise as ThumbnailErrors

* Set PIL's MAX_IMAGE_PIXELS to match homeserver.yaml

to get it to bomb out quicker, to load less into memory
in the case of super large images

* Add changelog entry for 10029
Diffstat (limited to 'tests/util/test_retryutils.py')
0 files changed, 0 insertions, 0 deletions