mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-04 18:46:39 +00:00
[Update] 使用gthread替代eventlet
This commit is contained in:
parent
6dc2272a26
commit
b022bf36ba
2
jms
2
jms
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user