Skip to content

Commit

Permalink
Extended connection timeout on link checker from 10 to 30s. (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
patcon authored Feb 13, 2021
1 parent 99e2eb6 commit 1d07799
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Max seconds for both full http request and connection phase of link checker.
TIMEOUT = 30
RUN = bundle exec

check: ## Check HTML and links
$(RUN) htmlproofer ./_book \
--allow-hash-href \
--check-html \
--typhoeus-config '{ "timeout": $(TIMEOUT), "connecttimeout": $(TIMEOUT) }' \
--url-ignore "/github.com\/hyphacoop\/organizing-private/,/github.com\/issues/"

%:
Expand Down

0 comments on commit 1d07799

Please sign in to comment.