summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2023-02-21 20:03:45 +0000
committerOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2023-02-21 20:03:45 +0000
commit6bb4db78cef8420f4de1eac7e9a98bc2d413c97e (patch)
tree84d2459841ba02fdeb5f9d219c2d1d95e6469cfc
parentMerge branch 'release-v1.78' into matrix-org-hotfixes (diff)
downloadsynapse-6bb4db78cef8420f4de1eac7e9a98bc2d413c97e.tar.xz
MORG HOTFIXES: increase /state response body size limit to 600MB
See #15127.
-rw-r--r--synapse/federation/transport/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py

index c05d598b70..9204084c67 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py
@@ -971,7 +971,7 @@ class _StateParser(ByteParser[StateRequestResponse]): CONTENT_TYPE = "application/json" # As with /send_join, /state responses can be huge. - MAX_RESPONSE_SIZE = 500 * 1024 * 1024 + MAX_RESPONSE_SIZE = 600 * 1024 * 1024 def __init__(self, room_version: RoomVersion): self._response = StateRequestResponse([], [])