mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
Throttle concurrency of html link checker
spdx.org obtains 503 if too many connections opened, it seems eg https://travis-ci.org/github/choosealicense.com/builds/439831256 Problem goes away locally when html-proofer/typhoeus/hydra default changed from 200 to 10
This commit is contained in:
parent
2db49e1e50
commit
da8b1d2194
1
Rakefile
1
Rakefile
@ -16,6 +16,7 @@ task :test do
|
|||||||
check_html: true,
|
check_html: true,
|
||||||
validation: { ignore_script_embeds: true },
|
validation: { ignore_script_embeds: true },
|
||||||
url_swap: { %r{https://choosealicense.com} => '' },
|
url_swap: { %r{https://choosealicense.com} => '' },
|
||||||
|
hydra: { max_concurrency: 10 },
|
||||||
check_img_http: true).run
|
check_img_http: true).run
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user