Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/common/management/commands/services/services/gunicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ def cmd(self):
'--max-requests-jitter', '2048',
'--timeout', '30',
'--graceful-timeout', '300',
# gunicorn's default of 4094 bytes rejects long-but-legitimate request
# lines (e.g. hundreds of knowledge_ids[] params); 8190 is the max it accepts.
'--limit-request-line', '8190',
'--access-logformat', log_format,
'--access-logfile', '/dev/null',
'--error-logfile', '-'
Expand Down