mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 09:43:10 +00:00
refactor: disable access log.
This commit is contained in:
parent
67f719747c
commit
8ee575b32e
|
|
@ -25,7 +25,8 @@ class GunicornService(BaseService):
|
|||
'--max-requests', '10240',
|
||||
'--max-requests-jitter', '2048',
|
||||
'--access-logformat', log_format,
|
||||
'--access-logfile', '-'
|
||||
'--access-logfile', 'None',
|
||||
'--error-logfile', '-'
|
||||
]
|
||||
if DEBUG:
|
||||
cmd.append('--reload')
|
||||
|
|
|
|||
|
|
@ -35,7 +35,8 @@ class GunicornLocalModelService(BaseService):
|
|||
'--max-requests', '10240',
|
||||
'--max-requests-jitter', '2048',
|
||||
'--access-logformat', log_format,
|
||||
'--access-logfile', '-'
|
||||
'--access-logfile', 'None',
|
||||
'--error-logfile', '-'
|
||||
]
|
||||
if DEBUG:
|
||||
cmd.append('--reload')
|
||||
|
|
|
|||
Loading…
Reference in New Issue