mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
pantalaimon: Increase the max POST size.
This commit is contained in:
parent
01e0c9363e
commit
d425e2d188
@ -58,7 +58,8 @@ async def init(data_dir, server_conf, send_queue, recv_queue):
|
|||||||
ssl=None if server_conf.ssl is True else False,
|
ssl=None if server_conf.ssl is True else False,
|
||||||
)
|
)
|
||||||
|
|
||||||
app = web.Application()
|
# 100 MB max POST size
|
||||||
|
app = web.Application(client_max_size=1024 ** 2 * 100)
|
||||||
|
|
||||||
app.add_routes(
|
app.add_routes(
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user