Less verbosity

This commit is contained in:
Alex 2020-12-11 13:34:04 +01:00
parent 58ec2abe1a
commit fd8c487b9b

View file

@ -112,7 +112,7 @@ impl SendLoop for ServerConn {}
#[async_trait]
impl RecvLoop for ServerConn {
async fn recv_handler(self: Arc<Self>, id: u16, bytes: Vec<u8>) {
debug!("ServerConn recv_handler {} ({} bytes)", id, bytes.len());
trace!("ServerConn recv_handler {} ({} bytes)", id, bytes.len());
let bytes: Bytes = bytes.into();
@ -264,7 +264,7 @@ impl SendLoop for ClientConn {}
#[async_trait]
impl RecvLoop for ClientConn {
async fn recv_handler(self: Arc<Self>, id: RequestID, msg: Vec<u8>) {
debug!("ClientConn recv_handler {} ({} bytes)", id, msg.len());
trace!("ClientConn recv_handler {} ({} bytes)", id, msg.len());
let mut inflight = self.inflight.lock().unwrap();
if let Some(ch) = inflight.remove(&id) {