cjdns: patch: allows buildbot(s) 3 extra minutes to finish async routines (#531)
[feed/routing.git] / cjdns / patches / 001-five-mins-builder-zonk.patch
diff --git a/cjdns/patches/001-five-mins-builder-zonk.patch b/cjdns/patches/001-five-mins-builder-zonk.patch
new file mode 100644 (file)
index 0000000..afd2d45
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/node_build/builder.js
++++ b/node_build/builder.js
+@@ -203,8 +203,8 @@
+     // # 74 "./wire/Message.h"
+     js = js.replace(/\n#.*\n/g, '');
+     var 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') {