Don't preload_app when running with Gunicorn since apparently that breaks database access
This commit is contained in:
父節點
40f0bd858b
當前提交
9c708b8c89
|
@ -1,6 +1,5 @@
|
|||
import multiprocessing
|
||||
|
||||
preload_app = True
|
||||
proc_name = 'lemoncurry'
|
||||
worker_class = 'gevent'
|
||||
workers = multiprocessing.cpu_count() * 2 + 1
|
||||
|
|
載入中…
新增問題並參考