From 05fa992f4ff99b4afd255d8fe8a000798d8cd7cf Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Mon, 15 Aug 2016 23:54:33 -0500 Subject: [PATCH] modfied the default worker again. Change-Id: I8f1883485789066bee69d6d75b60640a2eb68895 Signed-off-by: Narinder Gupta --- ci/02-deploybundle.sh | 4 ++-- ci/default_deployment_config.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh index edae7308..deaa51ef 100755 --- a/ci/02-deploybundle.sh +++ b/ci/02-deploybundle.sh @@ -60,7 +60,7 @@ if [ -e ~/.juju/deployment.yaml ]; then done echo $max - if [ "$max" -lt 8 ];then + if [ "$max" -lt 4 ];then workmutiple=1.0 elif [ "$max" -lt 33 ]; then workmutiple=0.25 @@ -69,7 +69,7 @@ if [ -e ~/.juju/deployment.yaml ]; then else workmutiple=0.05 fi - sed -i "s/worker_multiplier: 2/worker_multiplier: ${workmutiple}/g" default_deployment_config.yaml + sed -i "s/worker_multiplier: 1/worker_multiplier: ${workmutiple}/g" default_deployment_config.yaml fi case "$opnfvlab" in diff --git a/ci/default_deployment_config.yaml b/ci/default_deployment_config.yaml index e6250c8a..657d9a89 100644 --- a/ci/default_deployment_config.yaml +++ b/ci/default_deployment_config.yaml @@ -9,7 +9,7 @@ os: lxd: False region: RegionOne api: - worker_multiplier: 0.5 + worker_multiplier: 1 haproxy_timeout: 10000 admin: role: admin -- 2.16.6