Browse Source

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

tags/v1.10.1
Danielle McLean 2 years ago
parent
commit
9c708b8c89
Signed by: 00dani GPG Key ID: 8EB789DDF3ABD240
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      gunicorn.py

+ 0
- 1
gunicorn.py View File

@@ -1,6 +1,5 @@
import multiprocessing

preload_app = True
proc_name = 'lemoncurry'
worker_class = 'gevent'
workers = multiprocessing.cpu_count() * 2 + 1

Loading…
Cancel
Save