mirror of https://github.com/jumpserver/jumpserver
[Update] 添加eventlet
parent
7924b094f8
commit
3052744203
1
jms
1
jms
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue