From 09648efaf70eef81286039e18dd8b8da8ae8df57 Mon Sep 17 00:00:00 2001 From: lian Date: Sat, 9 Jun 2018 16:01:38 +0800 Subject: [PATCH] update gunicorn conf when mysql new setup add `limit_request_line = 8190` --- scripts/setup-seafile-mysql.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/setup-seafile-mysql.py b/scripts/setup-seafile-mysql.py index 360bd4f..85505bf 100644 --- a/scripts/setup-seafile-mysql.py +++ b/scripts/setup-seafile-mysql.py @@ -1197,6 +1197,8 @@ accesslog = os.path.join(logs_dir, 'gunicorn_access.log') # for file upload, we need a longer timeout value (default is only 30s, too short) timeout = 1200 + +limit_request_line = 8190 ''' text = template % dict(pids_dir=env_mgr.central_pids_dir,