From 93e808cb3e8b5270bec46e2a19d78736e08aa46c Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Tue, 24 May 2022 09:52:13 +0200 Subject: feat(uti): Use only 1 worker Signed-off-by: Peter Mikus Change-Id: I84d20520abd58f698dac936ee06163e1b5b20e04 --- resources/tools/dash/app/app.ini | 3 +-- resources/tools/dash/docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/tools/dash/app/app.ini b/resources/tools/dash/app/app.ini index efbea3f13a..9608f7c38d 100644 --- a/resources/tools/dash/app/app.ini +++ b/resources/tools/dash/app/app.ini @@ -10,8 +10,7 @@ lazy-apps = True touch-chain-reload listen = 128 -processes = 2 -threads = 4 +workers = 2 plugin = python3 master = true diff --git a/resources/tools/dash/docker-compose.yaml b/resources/tools/dash/docker-compose.yaml index 71250978fd..1b44700519 100644 --- a/resources/tools/dash/docker-compose.yaml +++ b/resources/tools/dash/docker-compose.yaml @@ -2,7 +2,7 @@ version: "3" services: dash: build: "." - command: "uwsgi app.ini" + command: "uwsgi --ini app.ini --workers 1" environment: AWS_ACCESS_KEY_ID: "" AWS_SECRET_ACCESS_KEY: "" -- cgit 1.2.3-korg