Commit b022bf36 authored by ibuler's avatar ibuler

[Update] 使用gthread替代eventlet

parent 6dc2272a
...@@ -123,6 +123,8 @@ def start_gunicorn(): ...@@ -123,6 +123,8 @@ def start_gunicorn():
'gunicorn', 'jumpserver.wsgi', 'gunicorn', 'jumpserver.wsgi',
'-b', bind, '-b', bind,
#'-k', 'eventlet', #'-k', 'eventlet',
'-k', 'gthread',
'--threads', '10',
'-w', str(WORKERS), '-w', str(WORKERS),
'--access-logformat', log_format, '--access-logformat', log_format,
'-p', pid_file, '-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