Skip to content

Commit

Permalink
Longer timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
arfon committed Dec 18, 2014
1 parent 0584fbf commit ee9cc24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/download-grammars
Original file line number Diff line number Diff line change
Expand Up @@ -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}"`

This comment has been minimized.

Copy link
@BoukafMohamed

BoukafMohamed Dec 18, 2014

20

`curl --silent --location --max-time 30 --output "#{tmp_dir}/archive" "#{url}"`

This comment has been minimized.

Copy link
@BoukafMohamed

BoukafMohamed Dec 18, 2014

15

raise "Failed to fetch GH package: #{url} #{$?.to_s}" unless $?.success?

output = File.join(tmp_dir, 'extracted')
Expand Down

0 comments on commit ee9cc24

Please sign in to comment.