From 40d18baf38411fcd4205ab4963cb66cdcd7af7f6 Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Fri, 17 Mar 2017 16:23:12 +0000 Subject: [PATCH] bump resources for resultsdb_frontend as well --- .../resultsdb-frontend/templates/resultsdb_frontend.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/taskotron/resultsdb-frontend/templates/resultsdb_frontend.conf.j2 b/roles/taskotron/resultsdb-frontend/templates/resultsdb_frontend.conf.j2 index 16fbc89fc6..e71cf5846c 100644 --- a/roles/taskotron/resultsdb-frontend/templates/resultsdb_frontend.conf.j2 +++ b/roles/taskotron/resultsdb-frontend/templates/resultsdb_frontend.conf.j2 @@ -1,4 +1,8 @@ +{% if deployment_type in ['stg', 'prod'] %} +WSGIDaemonProcess resultsdb_frontend user=apache group=apache threads=100 processes=10 +{% else %} WSGIDaemonProcess resultsdb_frontend user=apache group=apache threads=5 +{% endif %} WSGIScriptAlias /{{ resultsdb_fe_endpoint }} /usr/share/resultsdb_frontend/resultsdb_frontend.wsgi WSGISocketPrefix run/wsgi