Merge pull request #1835 from alphagov/eventlet

run gunicorn with eventlet
This commit is contained in:
Leo Hemsted
2018-02-01 15:40:00 +00:00
committed by GitHub
2 changed files with 11 additions and 2 deletions

View File

@@ -1,7 +1,16 @@
---
buildpack: python_buildpack
command: scripts/run_app_paas.sh gunicorn -c /home/vcap/app/gunicorn_config.py --error-logfile /home/vcap/logs/gunicorn_error.log -w 5 -b 0.0.0.0:$PORT application
command: >
scripts/run_app_paas.sh
gunicorn
-c /home/vcap/app/gunicorn_config.py
--error-logfile /home/vcap/logs/gunicorn_error.log
-w 5
-b 0.0.0.0:$PORT
-k eventlet
application
instances: 1
memory: 1G
env:

View File

@@ -13,7 +13,7 @@ pyexcel-ods3==0.5.2
pytz==2017.3
gunicorn==19.7.1
whitenoise==3.3.1 #manages static assets
eventlet==0.22
notifications-python-client==4.7.1
# PaaS