Update benchmark.sh
This commit is contained in:
parent
5565baea22
commit
8f467bc4c7
@ -60,15 +60,19 @@ do
|
||||
then
|
||||
if [[ $wave_connection -le $wave_max_conn ]]
|
||||
then
|
||||
echo -e "Stepping up"
|
||||
wave_connection=$((wave_connection * 2))
|
||||
else
|
||||
echo -e "Not stepping"
|
||||
wave_dir_up=false
|
||||
fi
|
||||
else
|
||||
if [[ $wave_connection -ge $wave_min_conn ]]
|
||||
then
|
||||
echo -e "Stepping down"
|
||||
wave_connection=$((wave_connection / 2))
|
||||
else
|
||||
echo -e "Not stepping"
|
||||
wave_dir_up=true
|
||||
wave_loop=$((wave_loop + 1))
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user