Skip to content

Commit

Permalink
Remove --batch-size argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Sep 10, 2024
1 parent 442341d commit ce85355
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/dist/regen-memo-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ usage() {
echo " --no-ask Do not ask for confirmation"
echo " --no-wait Do not wait to start generating -- DO IT NOW"
echo " --cache-options Memofile cache options [/path/to/dir | inplace]"
echo " --batch-size # of image files to split list into"
echo " --csv Bypass sql query and use this csv for image list"
echo
echo "Example:"
Expand Down Expand Up @@ -72,11 +71,6 @@ while true; do
"") echo "No parameter specified for --db"; break;;
*) DB=$2; shift 2;;
esac;;
--batch-size)
case "$2" in
"") echo "No parameter specified for --batch-size"; break;;
*) BATCH_SIZE=$2; shift 2;;
esac;;
--jobs)
case "$2" in
"") echo "No parameter specified for --jobs"; break;;
Expand Down Expand Up @@ -115,11 +109,6 @@ else
fi
fi

if [ -z "${BATCH_SIZE}" ]; then
echo "Setting batch size to 500"
BATCH_SIZE=500
fi

if [ -z "${MEMOIZER_HOME}" ]; then
echo "Setting memoizer-home to cwd (${PWD})"
MEMOIZER_HOME=${PWD}
Expand Down

0 comments on commit ce85355

Please sign in to comment.