Update benchmark.sh
This commit is contained in:
parent
2e84b4e5f1
commit
62a036f8ff
@ -59,7 +59,7 @@ do
|
|||||||
if [[ $wave_connection -lt $wave_max_conn ]]
|
if [[ $wave_connection -lt $wave_max_conn ]]
|
||||||
then
|
then
|
||||||
echo -e "Stepping up"
|
echo -e "Stepping up"
|
||||||
wave_connection=$((wave_connection * 2))
|
wave_connection=$((wave_connection * 5))
|
||||||
else
|
else
|
||||||
echo -e "Not stepping"
|
echo -e "Not stepping"
|
||||||
wave_dir_up=false
|
wave_dir_up=false
|
||||||
@ -68,7 +68,7 @@ do
|
|||||||
if [[ $wave_connection -gt $wave_min_conn ]]
|
if [[ $wave_connection -gt $wave_min_conn ]]
|
||||||
then
|
then
|
||||||
echo -e "Stepping down"
|
echo -e "Stepping down"
|
||||||
wave_connection=$((wave_connection / 2))
|
wave_connection=$((wave_connection / 5))
|
||||||
else
|
else
|
||||||
echo -e "Not stepping"
|
echo -e "Not stepping"
|
||||||
wave_dir_up=true
|
wave_dir_up=true
|
||||||
|
Loading…
Reference in New Issue
Block a user