mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
connectd: don't spam logs when we're under load.
This happens a lot with my node with rc2, so drop it to debug. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
2064982006
commit
15d0a8bec8
@@ -104,8 +104,7 @@ static void close_peer_io_timeout(struct peer *peer)
|
|||||||
|
|
||||||
static void close_subd_timeout(struct subd *subd)
|
static void close_subd_timeout(struct subd *subd)
|
||||||
{
|
{
|
||||||
/* BROKEN means we'll trigger CI if we see it, though it's possible */
|
status_peer_debug(&subd->peer->id, "Subd did not close, forcing close");
|
||||||
status_peer_broken(&subd->peer->id, "Subd did not close, forcing close");
|
|
||||||
io_close(subd->conn);
|
io_close(subd->conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user