diff --git a/src/snek/app.py b/src/snek/app.py index 83dcc03..e79b511 100644 --- a/src/snek/app.py +++ b/src/snek/app.py @@ -82,7 +82,7 @@ class Application(BaseApplication): self.template_path = pathlib.Path(__file__).parent.joinpath("templates") self.static_path = pathlib.Path(__file__).parent.joinpath("static") super().__init__( - middlewares=middlewares, template_path=self.template_path, *args, **kwargs + middlewares=middlewares, template_path=self.template_path, client_max_size=1024*1024*1024*5 *args, **kwargs ) session_setup(self, EncryptedCookieStorage(SESSION_KEY)) self.tasks = asyncio.Queue() diff --git a/src/snek/sgit.py b/src/snek/sgit.py index 64bad65..b7ccfe9 100644 --- a/src/snek/sgit.py +++ b/src/snek/sgit.py @@ -15,7 +15,7 @@ logger = logging.getLogger('git_server') class GitApplication(web.Application): def __init__(self, parent=None): self.parent = parent - super().__init__(client_max_size=100*1024*1024) + super().__init__(client_max_size=1024*1024*1024*5) self.REPO_DIR = "drive/repositories/3177f85e-dbb3-4406-993e-3d3748fea545" self.USERS = { 'x': 'x',