summaryrefslogtreecommitdiff
path: root/cjdns/patches/001-five-mins-builder-zonk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'cjdns/patches/001-five-mins-builder-zonk.patch')
-rw-r--r--cjdns/patches/001-five-mins-builder-zonk.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/cjdns/patches/001-five-mins-builder-zonk.patch b/cjdns/patches/001-five-mins-builder-zonk.patch
index 3128fb8..c53c62f 100644
--- a/cjdns/patches/001-five-mins-builder-zonk.patch
+++ b/cjdns/patches/001-five-mins-builder-zonk.patch
@@ -1,13 +1,13 @@
--- a/node_build/builder.js
+++ b/node_build/builder.js
-@@ -215,8 +215,8 @@ var execJs = function (js, builder, file
- js = qs.join("'");
+@@ -277,8 +277,8 @@ const execJs = function (js, ctx, file,
+ js = '"use strict";' + qs.join("'");
- var to = setTimeout(function () {
+ const to = setTimeout(function () {
- throw new Error("Inline JS did not return after 120 seconds [" + js + "]");
- }, 120000);
+ throw new Error("Inline JS did not return after 5 minutes [" + js + "]");
+ }, 300000);
- var REQUIRE = function (str) {
- if (typeof(str) !== 'string') {
+ nThen(function (waitFor) {
+