From 044cfdb65654c355e29c8f1fd3aa2547e48cecaa Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Tue, 20 May 2014 19:06:54 -0400 Subject: [PATCH] Let gunicorn load code before forking. --- conf/gunicorn_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/gunicorn_config.py b/conf/gunicorn_config.py index 4ab973927..4d9d50499 100644 --- a/conf/gunicorn_config.py +++ b/conf/gunicorn_config.py @@ -3,4 +3,5 @@ workers = 8 worker_class = 'gevent' timeout = 2000 logconfig = 'conf/logging.conf' -pythonpath = '.' \ No newline at end of file +pythonpath = '.' +preload_app = True \ No newline at end of file