From 9af8bb6919694329ad3d10d0bbc5289b1b6b5c92 Mon Sep 17 00:00:00 2001 From: Brian Helba <brian.helba@kitware.com> Date: Thu, 5 Dec 2019 17:10:09 -0500 Subject: [PATCH] Preload gunicorn in production --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 8f15d987..410f51fb 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,3 @@ release: ./manage.py migrate -web: gunicorn --bind 0.0.0.0:$PORT --max-requests 100 stade.wsgi +web: gunicorn --bind 0.0.0.0:$PORT --preload --max-requests 100 stade.wsgi worker: celery worker --app stade.celery --loglevel info --without-heartbeat