Commit 30527442 authored by ibuler's avatar ibuler

[Update] 添加eventlet

parent 7924b094
...@@ -122,6 +122,7 @@ def start_gunicorn(): ...@@ -122,6 +122,7 @@ def start_gunicorn():
cmd = [ cmd = [
'gunicorn', 'jumpserver.wsgi', 'gunicorn', 'jumpserver.wsgi',
'-b', bind, '-b', bind,
'-k', 'eventlet',
'-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