Skip to content

Commit

Permalink
fix: Add timeout to download public suffix list (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorfv authored and jhnns committed May 27, 2019
1 parent 10745db commit 1fbd49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-tries.js
Expand Up @@ -44,7 +44,7 @@ const tries = [

process.stderr.write(`Downloading public suffix list from ${PUBLIC_SUFFIX_URL}... `);

got(PUBLIC_SUFFIX_URL)
got(PUBLIC_SUFFIX_URL, { timeout: 60*1000 })
.then(res => {
process.stderr.write("ok" + os.EOL);

Expand Down

0 comments on commit 1fbd49c

Please sign in to comment.