From da8b1d21948f63384e43d23d38ae9a24844363b6 Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Fri, 19 Oct 2018 11:55:08 +0200 Subject: [PATCH] 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 --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 360bfdf..42c56e3 100644 --- a/Rakefile +++ b/Rakefile @@ -16,6 +16,7 @@ task :test do check_html: true, validation: { ignore_script_embeds: true }, url_swap: { %r{https://choosealicense.com} => '' }, + hydra: { max_concurrency: 10 }, check_img_http: true).run end