Skip to content

Commit 1fbd49c

Browse files
igorfvjhnns
authored andcommitted
fix: Add timeout to download public suffix list (#56)
1 parent 10745db commit 1fbd49c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-tries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const tries = [
4444

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

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

0 commit comments

Comments
 (0)