Browse Source

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
travis-debug
darosior 5 years ago
committed by neil saitug
parent
commit
744b727206
  1. 2
      lightningd/plugin_control.c

2
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

Loading…
Cancel
Save