mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-02 01:32:08 +00:00
perf: graceful restart gunicorn worker timeout 30
This commit is contained in:
parent
2e625f2c33
commit
8abf7876cc
@ -24,6 +24,7 @@ class GunicornService(BaseService):
|
|||||||
'-w', str(self.worker),
|
'-w', str(self.worker),
|
||||||
'--max-requests', '10240',
|
'--max-requests', '10240',
|
||||||
'--max-requests-jitter', '2048',
|
'--max-requests-jitter', '2048',
|
||||||
|
'--graceful-timeout', '30',
|
||||||
'--access-logformat', log_format,
|
'--access-logformat', log_format,
|
||||||
'--access-logfile', '-'
|
'--access-logfile', '-'
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user