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:
Rusty Russell
2022-11-30 06:00:35 +10:30
committed by Christian Decker
parent 2064982006
commit 15d0a8bec8

View File

@@ -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);
} }