Browse Source

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

Danielle McLean 9 months ago
parent
commit
9c708b8c89
Signed by: Danielle McLean <dani@00dani.me> 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 @@
1 1
 import multiprocessing
2 2
 
3
-preload_app = True
4 3
 proc_name = 'lemoncurry'
5 4
 worker_class = 'gevent'
6 5
 workers = multiprocessing.cpu_count() * 2 + 1

Loading…
Cancel
Save