Commit b022bf36 authored by ibuler's avatar ibuler

[Update] 使用gthread替代eventlet

parent 6dc2272a
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment