This commit is contained in:
retoor 2025-05-09 09:18:55 +02:00
parent 3ae30f1f76
commit e5d155e124
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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',