From f7016cd8f19a40ad11b64ed8dbdec7f7225cbc86 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 29 May 2023 15:35:03 +0800 Subject: [PATCH] bugfix --- ahserver/configuredServer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ahserver/configuredServer.py b/ahserver/configuredServer.py index 48e1d46..85f5655 100755 --- a/ahserver/configuredServer.py +++ b/ahserver/configuredServer.py @@ -29,7 +29,8 @@ class ConfiguredServer(AppLogger): DBPools(config.databases) initEnv() setupTemplateEngine() - self.app = web.Application() + client_max_size = 1024 * 10240 + self.app = web.Application(client_max_size=client_max_size) auth = auth_klass() auth.setupAuth(self.app) self.configPath(config)