faster requests in bulk.sh

This commit is contained in:
jomo 2015-01-02 00:02:33 +01:00
parent e8727a0d0d
commit 9d6f602206

View File

@ -13,5 +13,5 @@ for uuid in `cat "$dir/uuids.txt"`; do
if [ "$(( ((RANDOM<<15)|RANDOM) % 2 ))" -eq "1" ]; then
helm="&helm"
fi
curl -sSL -o /dev/null -w "%{url_effective} %{http_code} %{time_total}s\\n" "http://$host/avatars/$uuid?size=$size$helm" || exit 1
curl -sSL -o /dev/null -w "%{url_effective} %{http_code} %{time_total}s\\n" "http://$host/avatars/$uuid?size=$size$helm" &
done