From f29667a5ea93a8f0df638e9bf483d6b61b0b3bd4 Mon Sep 17 00:00:00 2001 From: Rui Ban Date: Wed, 8 Aug 2018 11:38:18 +0800 Subject: [PATCH] fix github hook 413 error --- src/github/trigger/trigger.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/github/trigger/trigger.py b/src/github/trigger/trigger.py index 681043d71..5f00a29b0 100755 --- a/src/github/trigger/trigger.py +++ b/src/github/trigger/trigger.py @@ -11,8 +11,11 @@ from pyinfraboxutils.ibbottle import InfraBoxPostgresPlugin from pyinfraboxutils.db import connect_db +import bottle from bottle import post, run, request, response, install, get +bottle.BaseRequest.MEMFILE_MAX = 10 * 1024 * 1024 + logger = get_logger("github") def res(status, message):