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:
parent
7cd6d95f99
commit
291dae3b0a
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user