Commit 7d3138f8 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Increase gunicorn keep-alive timeout for AWS deployment

Suggested keepalive time is 1-5 seconds for standard deployment,
but it should be much higher for deployments behind a load
balancer. We are hoping this might resolve the SSLEOFErrors which
have been seen on the AWS deployment.  Traefik's keepalive time
is hard-coded to 90 seconds so we want gunicorn's to be longer than
that, so we set it to 100 s.
parent b4b72af7
......@@ -6,7 +6,7 @@ redirect_stderr=true
command=/usr/local/bin/gunicorn config.wsgi:application --reload --config /app/gracedb_project/config/ --error-logfile='-' --access-logfile='-'
command=/usr/local/bin/gunicorn config.wsgi:application --reload --config /app/gracedb_project/config/ --error-logfile='-' --access-logfile='-' --keep-alive=100
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment