mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-17 12:29:20 -04:00
Merge pull request #1835 from alphagov/eventlet
run gunicorn with eventlet
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user