From 52657867d508f258445d9bbb3fae227bafec3e98 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sat, 14 Dec 2024 22:35:48 -0600 Subject: [PATCH] put a floor on linkchecker, run fewer requests per second --- .ci/test.sh | 2 +- docs/.linkcheckerrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/test.sh b/.ci/test.sh index 04faba7bad27..82c159064a33 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -146,7 +146,7 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then make -C docs html || exit 1 if [[ $TASK == "check-links" ]]; then # check docs for broken links - pip install linkchecker + pip install 'linkchecker>=10.5.0' linkchecker --config=./docs/.linkcheckerrc ./docs/_build/html/*.html || exit 1 exit 0 fi diff --git a/docs/.linkcheckerrc b/docs/.linkcheckerrc index 003d8699a875..c111bce37a6c 100644 --- a/docs/.linkcheckerrc +++ b/docs/.linkcheckerrc @@ -1,5 +1,5 @@ [checking] -maxrequestspersecond=1 +maxrequestspersecond=0.1 recursionlevel=1 anchors=1 sslverify=0