From ee9cc24e52b6cf45b55586fd96df8e8a75aaad92 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Thu, 18 Dec 2014 14:28:33 -0800 Subject: [PATCH] Longer timeout --- script/download-grammars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/download-grammars b/script/download-grammars index e0dfe10c6e..cd7713f01a 100755 --- a/script/download-grammars +++ b/script/download-grammars @@ -14,7 +14,7 @@ CSONC = File.expand_path("../../node_modules/.bin/csonc", __FILE__) class TarballPackage def self.fetch(tmp_dir, url) - `curl --silent --location --max-time 10 --output "#{tmp_dir}/archive" "#{url}"` + `curl --silent --location --max-time 30 --output "#{tmp_dir}/archive" "#{url}"` raise "Failed to fetch GH package: #{url} #{$?.to_s}" unless $?.success? output = File.join(tmp_dir, 'extracted')