suggestions by Mike
Co-authored-by: Michael Hansen <hansen.mike@gmail.com>
This commit is contained in:
co-authored by
Michael Hansen
parent
2b394504a0
commit
a80c7724a6
@@ -46,7 +46,7 @@ marker='0.0.0'
|
||||
threads="$(getconf _NPROCESSORS_ONLN)"
|
||||
memory="$(LANG=C free -m|awk '/^Mem:/{print $2}')"
|
||||
|
||||
if [ "$memory" -le 512 ] && [ "$threads" -gt 2 ]; then
|
||||
if [ "${memory}" -le 512 ] && [ "${threads}" -gt 2 ]; then
|
||||
threads=2
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user