Skip to content

Commit

Permalink
feat(swarm): downgrade connection limits warning from warn to debug
Browse files Browse the repository at this point in the history
This tiny PR contains a proposed change for the warning related to the exceeded pending incoming connections limit. This warning can't be controlled and causes user confusion. It contains useful technical info but IMHO should be downgraded from `warn` to `debug`.

Pull-Request: #3671.
  • Loading branch information
shamil-gadelshin authored Mar 31, 2023
1 parent d739670 commit 85bde7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ where
error: &error,
connection_id,
}));
log::warn!("Incoming connection rejected: {:?}", connection_limit);
log::debug!("Incoming connection rejected: {:?}", connection_limit);
}
};
}
Expand Down

0 comments on commit 85bde7e

Please sign in to comment.