[Update] 修改gunicorn配置

pull/1867/head
ibuler 2018-09-14 11:29:26 +08:00
parent 3ce9d01b6d
commit 2637c608a6
1 changed files with 1 additions and 0 deletions

1
jms
View File

@ -126,6 +126,7 @@ def start_gunicorn():
'-k', 'gthread', '-k', 'gthread',
'--threads', '10', '--threads', '10',
'-w', str(WORKERS), '-w', str(WORKERS),
'--max-requests', '4096',
'--access-logformat', log_format, '--access-logformat', log_format,
'-p', pid_file, '-p', pid_file,
] ]