Skip to content

Commit

Permalink
connectd: don't spam logs when we're under load.
Browse files Browse the repository at this point in the history
This happens a lot with my node with rc2, so drop it to debug.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell authored and cdecker committed Nov 30, 2022
1 parent 2064982 commit 15d0a8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions connectd/multiplex.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ static void close_peer_io_timeout(struct peer *peer)

static void close_subd_timeout(struct subd *subd)
{
/* BROKEN means we'll trigger CI if we see it, though it's possible */
status_peer_broken(&subd->peer->id, "Subd did not close, forcing close");
status_peer_debug(&subd->peer->id, "Subd did not close, forcing close");
io_close(subd->conn);
}

Expand Down

0 comments on commit 15d0a8b

Please sign in to comment.