diff options
author | pmikus <peter.mikus@protonmail.ch> | 2023-01-27 12:34:19 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2023-01-27 12:45:01 +0000 |
commit | d3917a57c9cc5966a00b0a53394613a2eb796a5a (patch) | |
tree | 7b82a70b4a2434f68e0ac0de6566a6cffdd7901a | |
parent | 2048e7bdd4dbcb7993332aaa015b8674f253d177 (diff) |
feat(dash): Tune production parameters
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I4e5546bcaebe1dd6094d4942c83122766559d572
(cherry picked from commit bb12d3fe3fb0b41744614bad679ce30853f74f43)
-rw-r--r-- | csit.infra.dash/app/app.ini | 20 | ||||
-rwxr-xr-x | csit.infra.dash/do_release.sh | 2 | ||||
-rw-r--r-- | csit.infra.dash/docker-compose.yaml | 2 |
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" |