Let gunicorn load code before forking.
This commit is contained in:
parent
c953447ae0
commit
044cfdb656
1 changed files with 2 additions and 1 deletions
|
@ -4,3 +4,4 @@ worker_class = 'gevent'
|
||||||
timeout = 2000
|
timeout = 2000
|
||||||
logconfig = 'conf/logging.conf'
|
logconfig = 'conf/logging.conf'
|
||||||
pythonpath = '.'
|
pythonpath = '.'
|
||||||
|
preload_app = True
|
Reference in a new issue