mirror of https://github.com/jumpserver/jumpserver
perf: gunicon添加重启参数
parent
0771b804d1
commit
6035241efb
|
@ -22,7 +22,8 @@ class GunicornService(BaseService):
|
|||
'-b', bind,
|
||||
'-k', 'uvicorn.workers.UvicornWorker',
|
||||
'-w', str(self.worker),
|
||||
'--max-requests', '40960',
|
||||
'--max-requests', '10240',
|
||||
'--max-requests-jitter', '5120',
|
||||
'--access-logformat', log_format,
|
||||
'--access-logfile', '-'
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue