aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-01-27 12:34:19 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-01-27 12:38:37 +0000
commitbb12d3fe3fb0b41744614bad679ce30853f74f43 (patch)
treedb35b1009b10432f069a3e116e4e4f68f915765d /csit.infra.dash
parent4d03dd53c2d77bf2e35a07ed3a5a95f323c3a370 (diff)
feat(dash): Tune production parameters
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I4e5546bcaebe1dd6094d4942c83122766559d572
Diffstat (limited to 'csit.infra.dash')
-rw-r--r--csit.infra.dash/app/app.ini20
-rwxr-xr-xcsit.infra.dash/do_release.sh2
-rw-r--r--csit.infra.dash/docker-compose.yaml2
3 files changed, 16 insertions, 8 deletions
diff --git a/csit.infra.dash/app/app.ini b/csit.infra.dash/app/app.ini
index 5484b5b9fc..2b56fdf83c 100644
--- a/csit.infra.dash/app/app.ini
+++ b/csit.infra.dash/app/app.ini
@@ -3,17 +3,25 @@ ini = :cdash
py-autoreload = 0
[cdash]
+strict = true
+master = true
+enable-threads = true
+single-interpreter = true
+
module = wsgi:app
master-fifo = /tmp/masterfifo
lazy = True
-lazy-apps = True
+lazy-apps = true
touch-chain-reload
listen = 128
-
-workers = 2
-plugin = python3
-
-master = true
http-socket = :5000
socket = /tmp/app.sock
chmod-socket = 666
+
+disable-logging = true
+log-4xx = true
+log-5xx = true
+
+workers = 1
+threads = 8
+plugin = python3
diff --git a/csit.infra.dash/do_release.sh b/csit.infra.dash/do_release.sh
index 63aff04dca..2b49bd63b3 100755
--- a/csit.infra.dash/do_release.sh
+++ b/csit.infra.dash/do_release.sh
@@ -14,7 +14,7 @@ popd
pushd "../fdio.infra.terraform/"
pushd "terraform-aws-fdio-csit-dash-app-base"
-export BUILD_ID=41
+export BUILD_ID=43
export TF_VAR_application_version="${BUILD_ID-}"
export TF_LOG=INFO
terraform validate
diff --git a/csit.infra.dash/docker-compose.yaml b/csit.infra.dash/docker-compose.yaml
index 990fe5b929..d709d3e264 100644
--- a/csit.infra.dash/docker-compose.yaml
+++ b/csit.infra.dash/docker-compose.yaml
@@ -2,7 +2,7 @@ version: "3.7"
services:
cdash:
build: "."
- command: "uwsgi --ini app.ini --workers 1"
+ command: "uwsgi --ini app.ini"
environment:
FLASK_DEBUG: 1
FLASK_ENV: "development"