perf: graceful restart gunicorn worker timeout 30

pull/13829/head
Bai 2024-07-24 18:22:12 +08:00 committed by Bryan
parent 2e625f2c33
commit 8abf7876cc
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ class GunicornService(BaseService):
'-w', str(self.worker),
'--max-requests', '10240',
'--max-requests-jitter', '2048',
'--graceful-timeout', '30',
'--access-logformat', log_format,
'--access-logfile', '-'
]