atom: indent fix
This commit is contained in:
parent
33120e8be3
commit
0ce0d18ab8
24
atom
24
atom
@ -712,19 +712,19 @@ do
|
|||||||
then
|
then
|
||||||
concurrency="$fixed_workers"
|
concurrency="$fixed_workers"
|
||||||
else
|
else
|
||||||
if [ -z "$quit" ] \
|
if [ -z "$quit" ] \
|
||||||
&& (( ! pause )) \
|
&& (( ! pause )) \
|
||||||
&& (( $(date +%s)-concurrencychange >= loadinterval ))
|
&& (( $(date +%s)-concurrencychange >= loadinterval ))
|
||||||
then
|
|
||||||
if (( concurrency > 1 )) \
|
|
||||||
&& (( load > maxload ))
|
|
||||||
then
|
then
|
||||||
concurrencychange=$(date +%s)
|
if (( concurrency > 1 )) \
|
||||||
(( --concurrency ))
|
&& (( load > maxload ))
|
||||||
elif (( load < maxload )) && (( active > concurrency - 1 ))
|
then
|
||||||
then
|
concurrencychange=$(date +%s)
|
||||||
concurrencychange=$(date +%s)
|
(( --concurrency ))
|
||||||
(( ++concurrency ))
|
elif (( load < maxload )) && (( active > concurrency - 1 ))
|
||||||
|
then
|
||||||
|
concurrencychange=$(date +%s)
|
||||||
|
(( ++concurrency ))
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user