Update.
This commit is contained in:
parent
3ae30f1f76
commit
e5d155e124
@ -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()
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user