[Update] 使用gthread替代eventlet

This commit is contained in:
ibuler 2018-09-11 12:42:49 +08:00
parent 6dc2272a26
commit b022bf36ba

2
jms
View File

@ -123,6 +123,8 @@ def start_gunicorn():
'gunicorn', 'jumpserver.wsgi',
'-b', bind,
#'-k', 'eventlet',
'-k', 'gthread',
'--threads', '10',
'-w', str(WORKERS),
'--access-logformat', log_format,
'-p', pid_file,