From 9c708b8c899480fe5df57473ce20d693f6669350 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Wed, 11 Jul 2018 13:01:00 +1000 Subject: [PATCH] Don't preload_app when running with Gunicorn since apparently that breaks database access --- gunicorn.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gunicorn.py b/gunicorn.py index d068d61..e34ad90 100644 --- a/gunicorn.py +++ b/gunicorn.py @@ -1,6 +1,5 @@ import multiprocessing -preload_app = True proc_name = 'lemoncurry' worker_class = 'gevent' workers = multiprocessing.cpu_count() * 2 + 1