From 14b80f6195e8ba32a5cb83e0d099901725cd38a7 Mon Sep 17 00:00:00 2001 From: Mike VanDenburgh Date: Tue, 21 Jun 2022 13:56:10 -0400 Subject: [PATCH] Add timeout to gunicorn in heroku --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index c8669c651..6286246f2 100644 --- a/Procfile +++ b/Procfile @@ -1,5 +1,5 @@ release: ./manage.py migrate -web: gunicorn --bind 0.0.0.0:$PORT dandiapi.wsgi +web: gunicorn --bind 0.0.0.0:$PORT dandiapi.wsgi --timeout 25 # celery-beat: REMAP_SIGTERM=SIGQUIT celery --app dandiapi.celery beat --loglevel INFO # Rather than using a dedicated worker for Celery Beat, we simply use the -B option on the priority task worker. # This means that we cannot safely scale up the number of priority-workers without Celery Beat triggering multiple events.