pantalaimon: Increase the max POST size.

This commit is contained in:
Damir Jelić 2020-08-04 15:32:07 +02:00
parent 01e0c9363e
commit d425e2d188

View File

@ -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,
)
app = web.Application()
# 100 MB max POST size
app = web.Application(client_max_size=1024 ** 2 * 100)
app.add_routes(
[