Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-26 17:02:02 +02:00 committed by GitHub
parent 2e84b4e5f1
commit 62a036f8ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ do
if [[ $wave_connection -lt $wave_max_conn ]]
then
echo -e "Stepping up"
wave_connection=$((wave_connection * 2))
wave_connection=$((wave_connection * 5))
else
echo -e "Not stepping"
wave_dir_up=false
@ -68,7 +68,7 @@ do
if [[ $wave_connection -gt $wave_min_conn ]]
then
echo -e "Stepping down"
wave_connection=$((wave_connection / 2))
wave_connection=$((wave_connection / 5))
else
echo -e "Not stepping"
wave_dir_up=true