From b37c2770343fddea9f836739558ace2efe5327d1 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 18 Jan 2019 17:04:28 +0100 Subject: [PATCH] plugin: Increase manifest timeout to 60 seconds Valgrind seems to be slowing the pay-plugin down enough for the 10 seconds timeout to get triggered on a semi-regular basis. Reported-by: Rusty Russell <@rustyrussell> Signed-off-by: Christian Decker --- lightningd/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/plugin.c b/lightningd/plugin.c index 132ff843b..7f4d7c88a 100644 --- a/lightningd/plugin.c +++ b/lightningd/plugin.c @@ -31,7 +31,7 @@ * hangs we can't do much, so we put an upper bound on the time we're * willing to wait. Plugins shouldn't do any initialization in the * `getmanifest` call anyway, that's what `init `is for. */ -#define PLUGIN_MANIFEST_TIMEOUT 10 +#define PLUGIN_MANIFEST_TIMEOUT 60 struct plugin { struct list_node list;