Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 8a785a5

Browse files
dmiusDmitry
authored andcommitted
Multipler added
1 parent 03a1603 commit 8a785a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nancy_run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ DOCKER_MACHINE="${DOCKER_MACHINE:-nancy-$CURRENT_TS}"
66
DOCKER_MACHINE="${DOCKER_MACHINE//_/-}"
77
DEBUG_TIMEOUT=0
88
EBS_SIZE=1 #GB
9+
EBS_SIZE_MULTIPLIER=15
910

1011
## Get command line params
1112
while true; do
@@ -495,6 +496,8 @@ if [ ! -z ${DB_DUMP_PATH+x} ]; then
495496
let ebsSize=$dumpFileSize
496497
fi
497498
ebsSize=$(numfmt --to-unit=G $ebsSize)
499+
#[ $DEBUG -eq 1 ] && echo "EBS Size: $ebsSize Gb"
500+
let ebsSize=$ebsSize*$EBS_SIZE_MULTIPLIER
498501
EBS_SIZE=$ebsSize
499502
[ $DEBUG -eq 1 ] && echo "EBS Size: $EBS_SIZE Gb"
500503
fi

0 commit comments

Comments
 (0)