Skip to content

Commit 58ccf9b

Browse files
committed
Increase req body max size, cf element-hq#17035
1 parent 3d8535b commit 58ccf9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/app/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ def max_request_body_size(config: HomeServerConfig) -> int:
751751
#
752752
# in short, we somewhat arbitrarily limit requests to 200 * 64K (about 12.5M)
753753
#
754-
max_request_size = 200 * MAX_PDU_SIZE
754+
max_request_size = 1000 * MAX_PDU_SIZE
755755

756756
# if we have a media repo enabled, we may need to allow larger uploads than that
757757
if config.media.can_load_media_repo:

0 commit comments

Comments
 (0)