Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightningd: don't timeout plugins if init is slow!
This is a minimal fix: we wait until all plugins reply from init before continuing. Really large or busy nodes can have other things monopolize lightningd, then the timer goes off and we blame the plugin (which has responded, we just haven't read it yet!). The real answer is to have some timeouts only advance when we're idle, or have them low-priority so we only activate them when we're idle (this doesn't apply to all timers: some are probably important!). But this is a minimal fix for -rc3. Fixes: #5736 Changelog-Fixed: plugins: on large/slow nodes we could blame plugins for failing to answer init in time, when we were just slow. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
- Loading branch information