mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-03 03:10:43 -05:00
Increased Gunicorn threads to 10 on staging to test if there is a performance increase when testing request per second. Increased to 10. Gunicorn recommend 2 x cores + 1 however on PaaS the number of cores is not consistent.
21 lines
478 B
YAML
21 lines
478 B
YAML
---
|
|
|
|
inherit: manifest-api-base.yml
|
|
command: scripts/run_app_paas.sh gunicorn -c /home/vcap/app/gunicorn_config.py --error-logfile /home/vcap/logs/gunicorn_error.log -w 10 -b 0.0.0.0:$PORT application
|
|
services:
|
|
- notify-aws
|
|
- notify-config
|
|
- notify-db
|
|
- mmg
|
|
- firetext
|
|
- hosted-graphite
|
|
- redis
|
|
- performance-platform
|
|
- logit-ssl-syslog-drain
|
|
|
|
routes:
|
|
- route: notify-api-staging.cloudapps.digital
|
|
- route: api.staging-notify.works
|
|
instances: 2
|
|
memory: 1G
|