mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-14 18:41:22 +00:00
feat(swarm): downgrade connection limits warning from warn to debug
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.
This commit is contained in:
@ -1111,7 +1111,7 @@ where
|
||||
error: &error,
|
||||
connection_id,
|
||||
}));
|
||||
log::warn!("Incoming connection rejected: {:?}", connection_limit);
|
||||
log::debug!("Incoming connection rejected: {:?}", connection_limit);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user