From 102ae19b7341b294f6590ba85a042e012167b7c4 Mon Sep 17 00:00:00 2001 From: William Fleurant Date: Thu, 14 Nov 2019 14:51:38 -0500 Subject: [PATCH] cjdns: patch: allows buildbot(s) 3 extra minutes to finish async routines (#531) Signed-off-by: William Fleurant --- cjdns/Makefile | 2 +- cjdns/patches/001-five-mins-builder-zonk.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 cjdns/patches/001-five-mins-builder-zonk.patch diff --git a/cjdns/Makefile b/cjdns/Makefile index 936e4b5..e9def01 100644 --- a/cjdns/Makefile +++ b/cjdns/Makefile @@ -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 index 0000000..afd2d45 --- /dev/null +++ b/cjdns/patches/001-five-mins-builder-zonk.patch @@ -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') {