From d425e2d188aed32c3fe87cac210c0943fd51b085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 4 Aug 2020 15:32:07 +0200 Subject: [PATCH] pantalaimon: Increase the max POST size. --- pantalaimon/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pantalaimon/main.py b/pantalaimon/main.py index 896d29e..2721008 100644 --- a/pantalaimon/main.py +++ b/pantalaimon/main.py @@ -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( [