[Update] 使用gthread替代eventlet

pull/1805/head
ibuler 2018-09-11 12:42:49 +08:00
parent 6dc2272a26
commit b022bf36ba
1 changed files with 2 additions and 0 deletions

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,