aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/dash
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-05-24 09:52:13 +0200
committerPeter Mikus <pmikus@cisco.com>2022-05-24 09:52:13 +0200
commit93e808cb3e8b5270bec46e2a19d78736e08aa46c (patch)
tree5f36ec45b2b0d06362e787e9e82628ba946f5ad2 /resources/tools/dash
parent72766c8177fb76ac5ca4cbbfe616c19ec4a9a97a (diff)
feat(uti): Use only 1 worker
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I84d20520abd58f698dac936ee06163e1b5b20e04
Diffstat (limited to 'resources/tools/dash')
-rw-r--r--resources/tools/dash/app/app.ini3
-rw-r--r--resources/tools/dash/docker-compose.yaml2
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: ""