Skip to content

Commit be752c2

Browse files
authored
Change the Keep-Alive idle timeout to 95 seconds (#263)
For consistency with the timeout chosen by other languages since #261 landed: - heroku/heroku-buildpack-php#823 - heroku/ruby-getting-started#190 GUS-W-18319007. Signed-off-by: Ed Morley <[email protected]>
1 parent 5d92611 commit be752c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gunicorn.conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
# connections is always initiated by the router and not gunicorn, to prevent a race condition
5555
# if the router sends a request to the app just as gunicorn is closing the connection:
5656
# https://devcenter.heroku.com/articles/http-routing#keepalives
57-
keepalive = 100
57+
keepalive = 95
5858

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

0 commit comments

Comments
 (0)