summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-08-15 23:54:33 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-08-15 23:55:00 -0500
commit05fa992f4ff99b4afd255d8fe8a000798d8cd7cf (patch)
tree030cd2776412a1e227bc9281661fa84f817e0fc9
parent64716eb8ce1b9aa5748454acad7d274e4c3d3bdc (diff)
modfied the default worker again.
Change-Id: I8f1883485789066bee69d6d75b60640a2eb68895 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
-rwxr-xr-xci/02-deploybundle.sh4
-rw-r--r--ci/default_deployment_config.yaml2
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