mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
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
This commit is contained in:
parent
362775bc02
commit
744b727206
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue