2
0
mirror of https://github.com/Revertron/Alfis synced 2024-11-18 21:26:38 +00:00

Changed log type for some lines.

This commit is contained in:
Revertron 2021-04-03 15:55:58 +02:00
parent 7cd6d95f99
commit 291dae3b0a

View File

@ -44,7 +44,7 @@ impl Peers {
let stream = peer.get_stream(); let stream = peer.get_stream();
let _ = stream.shutdown(Shutdown::Both); let _ = stream.shutdown(Shutdown::Both);
let _ = registry.deregister(stream); let _ = registry.deregister(stream);
info!("Peer connection {} to {:?} has shut down", &token.0, &peer.get_addr()); debug!("Peer connection {} to {:?} has shut down", &token.0, &peer.get_addr());
if !peer.disabled() && !peer.is_inbound() { if !peer.disabled() && !peer.is_inbound() {
peer.set_state(State::offline()); peer.set_state(State::offline());