Browse Source

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

pull/1/head
Danielle McLean 3 years ago
parent
commit
9c708b8c89
Signed by: 00dani GPG Key ID: 8EB789DDF3ABD240
  1. 1
      gunicorn.py

1
gunicorn.py

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

Loading…
Cancel
Save