MORG HOTFIXES: increase /state response body size limit to 600MB
See #15127.
This commit is contained in:
parent
e0f9a514c6
commit
6bb4db78ce
|
@ -971,7 +971,7 @@ class _StateParser(ByteParser[StateRequestResponse]):
|
||||||
CONTENT_TYPE = "application/json"
|
CONTENT_TYPE = "application/json"
|
||||||
|
|
||||||
# As with /send_join, /state responses can be huge.
|
# 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):
|
def __init__(self, room_version: RoomVersion):
|
||||||
self._response = StateRequestResponse([], [])
|
self._response = StateRequestResponse([], [])
|
||||||
|
|
Loading…
Reference in New Issue