Downgrade a couple messages
This commit is contained in:
parent
eafd274a0b
commit
b3cb194700
1 changed files with 2 additions and 2 deletions
|
|
@ -306,7 +306,7 @@ impl TorrentStateLive {
|
||||||
let permit = match self.peer_semaphore.clone().try_acquire_owned() {
|
let permit = match self.peer_semaphore.clone().try_acquire_owned() {
|
||||||
Ok(permit) => permit,
|
Ok(permit) => permit,
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
warn!("limit of live peers reached, dropping incoming peer");
|
debug!("limit of live peers reached, dropping incoming peer");
|
||||||
self.peers.with_peer(checked_peer.addr, |p| {
|
self.peers.with_peer(checked_peer.addr, |p| {
|
||||||
atomic_inc(&p.stats.counters.incoming_connections);
|
atomic_inc(&p.stats.counters.incoming_connections);
|
||||||
});
|
});
|
||||||
|
|
@ -1082,7 +1082,7 @@ impl PeerHandler {
|
||||||
piece_req.started = Instant::now();
|
piece_req.started = Instant::now();
|
||||||
(*idx, old)
|
(*idx, old)
|
||||||
} else {
|
} else {
|
||||||
warn!(?idx, ?piece_req, "attempted to steal but peer was writing");
|
debug!(?idx, ?piece_req, "attempted to steal but peer was writing");
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue