Browse Source

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 <decker.christian@gmail.com>
plugin-timeout-inc
Christian Decker 6 years ago
parent
commit
b37c277034
No known key found for this signature in database GPG Key ID: 1416D83DC4F0E86D
  1. 2
      lightningd/plugin.c

2
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;

Loading…
Cancel
Save