From 349887178c76a08d500e86318868fc8c1b9b22dc Mon Sep 17 00:00:00 2001 From: Richard Chapman Date: Wed, 29 Nov 2017 14:13:26 +0000 Subject: [PATCH] Increased Gunicorn threads 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. --- manifest-api-staging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest-api-staging.yml b/manifest-api-staging.yml index 67044f918..d19455470 100644 --- a/manifest-api-staging.yml +++ b/manifest-api-staging.yml @@ -1,7 +1,7 @@ --- 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