feat(dash): Tune production parameters 61/38061/2
authorpmikus <peter.mikus@protonmail.ch>
Fri, 27 Jan 2023 12:34:19 +0000 (12:34 +0000)
committerPeter Mikus <peter.mikus@protonmail.ch>
Fri, 27 Jan 2023 12:38:37 +0000 (12:38 +0000)
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I4e5546bcaebe1dd6094d4942c83122766559d572

csit.infra.dash/app/app.ini
csit.infra.dash/do_release.sh
csit.infra.dash/docker-compose.yaml

index 5484b5b..2b56fdf 100644 (file)
@@ -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
index 63aff04..2b49bd6 100755 (executable)
@@ -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
index 990fe5b..d709d3e 100644 (file)
@@ -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"