mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-08 14:12:27 -05:00
put timeout back
This commit is contained in:
@@ -18,7 +18,7 @@ worker_connections = 256
|
|||||||
bind = "0.0.0.0:{}".format(os.getenv("PORT"))
|
bind = "0.0.0.0:{}".format(os.getenv("PORT"))
|
||||||
statsd_host = "{}:8125".format(os.getenv("STATSD_HOST"))
|
statsd_host = "{}:8125".format(os.getenv("STATSD_HOST"))
|
||||||
gunicorn.SERVER_SOFTWARE = "None"
|
gunicorn.SERVER_SOFTWARE = "None"
|
||||||
|
timeout = 240
|
||||||
|
|
||||||
def on_starting(server):
|
def on_starting(server):
|
||||||
server.log.info("Starting Notifications API")
|
server.log.info("Starting Notifications API")
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ if [[ $CF_INSTANCE_INDEX -eq 0 ]]; then
|
|||||||
flask db upgrade
|
flask db upgrade
|
||||||
fi
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user