Skip to content

Commit

Permalink
Speed up check on website links (apache#23737)
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloem authored Oct 20, 2022
1 parent 72e27f4 commit 3ab9507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/www/check-links.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ for external_link in "${external_links[@]}"
do
redraw_progress_bar 50 1 $i ${#external_links[@]}

if ! curl -sSfL --max-time 10 --connect-timeout 10 --retry 2 -4 "${external_link}" > /dev/null ; then
if ! curl -sSfL --max-filesize 1000000 --max-time 10 --connect-timeout 10 --retry 2 -4 "${external_link}" > /dev/null ; then
invalid_links+=("${external_link}")
echo "${external_link}"
fi
Expand Down

0 comments on commit 3ab9507

Please sign in to comment.