From 744b7272069c54132b20753fb61a8a43e349ca49 Mon Sep 17 00:00:00 2001 From: darosior Date: Fri, 11 Oct 2019 13:09:16 +0200 Subject: [PATCH] plugin_control: halve the timeout delay 20 seconds was way too long for UX, and 10 seconds is more than enough for the plugin to error --- lightningd/plugin_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/plugin_control.c b/lightningd/plugin_control.c index 41006f575..af4506bcb 100644 --- a/lightningd/plugin_control.c +++ b/lightningd/plugin_control.c @@ -125,7 +125,7 @@ static struct command_result *plugin_start(struct dynamic_plugin *dp) /* Give the plugin 20 seconds to respond to `getmanifest`, so we don't hang * too long on the RPC caller. */ p->timeout_timer = new_reltimer(dp->cmd->ld->timers, dp, - time_from_sec(20), + time_from_sec((10)), plugin_dynamic_timeout, dp); /* Create two connections, one read-only on top of the plugin's stdin, and one