Skip to content
Merged
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
7 changes: 7 additions & 0 deletions gunicorn.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
# https://devcenter.heroku.com/articles/dyno-shutdown-behavior
graceful_timeout = 20

# The number of seconds an idle Keep-Alive connection is kept open. This should be greater than
# the Heroku Router's Keep-Alive idle timeout of 90 seconds, to ensure that the closing of idle
# connections is always initiated by the router and not gunicorn, to prevent a race condition
# if the router sends a request to the app just as gunicorn is closing the connection:
# https://devcenter.heroku.com/articles/http-routing#keepalives
keepalive = 100

# Enable logging of incoming requests to stdout.
accesslog = "-"

Expand Down