1
0

MORG HOTFIXES: increase /state response body size limit to 600MB

See #15127.
This commit is contained in:
Olivier Wilkinson (reivilibre)
2023-02-21 20:03:45 +00:00
parent e0f9a514c6
commit 6bb4db78ce

View File

@@ -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([], [])