Skip to content

Commit 67c978b

Browse files
committed
Increase timeout duration for link check
The "markdown-link-check" tool is used to check for broken links in the project's Markdown files. In addition to the obvious case where a broken link is indicated by an HTTP response status code, the case where the server does not respond must also be covered. By default, "markdown-link-check" waits 10 s for a response, and considers the link broken if one was not received in that time. It has been found that it occasionally takes more than 10 s to receive a response from some functional links, and thus the default timeout value was resulting in disruptive false positives from the link check.
1 parent 52f27e9 commit 67c978b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.markdown-link-check.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
}
99
],
1010
"retryOn429": true,
11+
"timeout": "30s",
1112
"retryCount": 3,
1213
"aliveStatusCodes": [200, 206]
1314
}

0 commit comments

Comments
 (0)