Don't preload_app when running with Gunicorn since apparently that breaks database access

This commit is contained in:
Danielle McLean 2018-07-11 13:01:00 +10:00
父節點 40f0bd858b
當前提交 9c708b8c89
簽署人: 00dani
GPG 金鑰 ID: 8EB789DDF3ABD240
共有 1 個檔案被更改,包括 0 行新增1 行删除

查看文件

@ -1,6 +1,5 @@
import multiprocessing
preload_app = True
proc_name = 'lemoncurry'
worker_class = 'gevent'
workers = multiprocessing.cpu_count() * 2 + 1