cjdns: patch: allows buildbot(s) 3 extra minutes to finish async routines (#531)
authorWilliam Fleurant <meshnet@protonmail.com>
Thu, 14 Nov 2019 19:51:38 +0000 (14:51 -0500)
committerGitHub <noreply@github.com>
Thu, 14 Nov 2019 19:51:38 +0000 (14:51 -0500)
Signed-off-by: William Fleurant <meshnet@protonmail.com>
cjdns/Makefile
cjdns/patches/001-five-mins-builder-zonk.patch [new file with mode: 0644]

index 936e4b512c4c675f5b4b073b204c0275a3f86b71..e9def01f76d6b3ef40bdea37e94ac74079f88953 100644 (file)
@@ -18,7 +18,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=cjdns
 PKG_VERSION:=v20.4
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_VERSION:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_PROTO:=git
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') {