Skip to content

Commit 6b8a9bd

Browse files
committed
fix: correct parameter name for graceful timeout in Gunicorn configuration
1 parent 7a4594d commit 6b8a9bd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/common/management/commands/services/services/gunicorn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def cmd(self):
2727
'--max-requests', '10240',
2828
'--max-requests-jitter', '2048',
2929
'--timeout', '0',
30-
'--graceful_timeout', '0',
30+
'--graceful-timeout', '0',
3131
'--access-logformat', log_format,
3232
'--access-logfile', '/dev/null',
3333
'--error-logfile', '-'

apps/common/management/commands/services/services/local_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def cmd(self):
3737
'--max-requests', str(max_requests),
3838
'--max-requests-jitter', '2048',
3939
'--timeout', '0',
40-
'--graceful_timeout', '0',
40+
'--graceful-timeout', '0',
4141
'--access-logformat', log_format,
4242
'--access-logfile', '/dev/null',
4343
'--error-logfile', '-'

apps/common/management/commands/services/services/scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def cmd(self):
2828
'--max-requests', str(max_requests),
2929
'--max-requests-jitter', '2048',
3030
'--timeout', '0',
31-
'--graceful_timeout', '0',
31+
'--graceful-timeout', '0',
3232
'--access-logformat', log_format,
3333
'--access-logfile', '/dev/null',
3434
'--error-logfile', '-'

0 commit comments

Comments
 (0)