put timeout back

This commit is contained in:
Kenneth Kehl
2025-07-31 11:16:51 -07:00
parent c3e99694c9
commit 4dde94433a
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ worker_connections = 256
bind = "0.0.0.0:{}".format(os.getenv("PORT"))
statsd_host = "{}:8125".format(os.getenv("STATSD_HOST"))
gunicorn.SERVER_SOFTWARE = "None"
timeout = 240
def on_starting(server):
server.log.info("Starting Notifications API")

View File

@@ -4,4 +4,4 @@ if [[ $CF_INSTANCE_INDEX -eq 0 ]]; then
flask db upgrade
fi
exec newrelic-admin run-program gunicorn -c ${HOME}/gunicorn_config.py -b 0.0.0.0:6011 gunicorn_entry:application
exec newrelic-admin run-program gunicorn -c ${HOME}/gunicorn_config.py gunicorn_entry:application