feat: Speed things up a bit

This commit is contained in:
Carlos Solís 2025-02-10 20:47:37 +00:00
parent c2f3ea7acf
commit 6de5f4674f

View file

@ -8,7 +8,7 @@ dbengine=mariadb
db=friendica db=friendica
folder=/var/www/friendica folder=/var/www/friendica
intense_optimizations=${1:-"0"} intense_optimizations=${1:-"0"}
thread_multiplier=1 thread_multiplier=2
nfolder="/tmp/friendica-remove-invalid-photos" nfolder="/tmp/friendica-remove-invalid-photos"
nfile="${nfolder}/n$(date +%s).csv" nfile="${nfolder}/n$(date +%s).csv"
nlock="${nfolder}/n$(date +%s).lock" nlock="${nfolder}/n$(date +%s).lock"
@ -266,14 +266,8 @@ until [[ $((nt + limit)) -ge "${dbcount}" || "${lastid}" -ge "${maxid}" ]]; do
echo "" >"${nlock}" echo "" >"${nlock}"
fi fi
rl=1 rl=1
else
sleep 1s
fi fi
else
sleep 1s
fi fi
else
sleep 1s
fi fi
done done
done done