Set JOBS property to number of cores as default
This commit is contained in:
@@ -38,6 +38,9 @@ EOF
|
|||||||
exit ${1:-0}
|
exit ${1:-0}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Let -i option default to number of CPU cores, use the output of nproc for this.
|
||||||
|
JOBS=$(nproc)
|
||||||
|
|
||||||
db_exec()
|
db_exec()
|
||||||
{
|
{
|
||||||
echo "psql -h $TARGET -xU root -d ${2:-postgres} -c \"$1\""
|
echo "psql -h $TARGET -xU root -d ${2:-postgres} -c \"$1\""
|
||||||
|
|||||||
Reference in New Issue
Block a user