feat: Speed things up a bit
This commit is contained in:
parent
c2f3ea7acf
commit
6de5f4674f
1 changed files with 1 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue