Tuning some numbers

This commit is contained in:
Yorhel 2025-10-23 08:35:31 +02:00
parent 902048e282
commit dfa9419b67
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ $PSQL -f update_indices.sql
echo "============ Updating HTML cache"
test -f .config && source ./.config
./cache-html.pl --batch=5 --delay=0.5 --maxbatches=100
./cache-html.pl --batch=5 --delay=0.5 --maxbatches=1000
echo "============ Updating database dumps"
./export.sh

View file

@ -5,7 +5,7 @@ set -e
mkdir -p ../dl
# Only run once a week
[ -e ../dl/current ] && [ -z $(find ../dl/current -daystart -mtime +7) ] && exit
[ -e ../dl/current ] && [ -z $(find ../dl/current -daystart -mtime +6) ] && exit
# Only keep the last dump
rm -rf $(printf '%s\n' ../dl/????-??-?? | sort | head -n -1)

View file

@ -20,7 +20,7 @@ use ManUtils;
# Database must be configured through env vars
FU::init_db(sub { FU::Pg->connect('')->set_type(bytea => '$hex') });
FU::debug_info('/fu-debug', 'debug~', 10);
FU::log_slow_reqs 500;
FU::log_slow_reqs 200;
FU::before_request {