Browse Source
We currently end up sleeping for 1 second for channeld and gossipd: better to use a normal blocking waitpid and an alarm to wake us in case they don't exit. This speeds up `lightning-cli stop` on my machine from 2.008s to 0.008s: a 286 times speedup! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>pull/2938/head
Rusty Russell
6 years ago
1 changed files with 21 additions and 8 deletions
Loading…
Reference in new issue