Set JOBS property to number of cores as default

This commit is contained in:
Rikard Bartholf
2025-11-17 16:17:56 +01:00
parent bfad35a217
commit b4fe8e5fd4
+3
View File
@@ -38,6 +38,9 @@ EOF
exit ${1:-0}
}
# Let -i option default to number of CPU cores, use the output of nproc for this.
JOBS=$(nproc)
db_exec()
{
echo "psql -h $TARGET -xU root -d ${2:-postgres} -c \"$1\""