Skip to content

Commit

Permalink
Log cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumEntangledAndy committed Apr 26, 2024
1 parent 96e9945 commit e8aca0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/core/src/bc_protocol/connection/udpsource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ impl UdpPayloadInner {
self.packets_want += 1;
self.thread_stream.feed(Ok(payload)).await?;
}
log::info!("recieved: {}", self.recieved.len());
log::trace!("recieved: {}", self.recieved.len());
log::trace!("Flush");
self.socket_in.flush().await?;
self.thread_stream.flush().await?;
Expand Down Expand Up @@ -618,7 +618,7 @@ impl UdpPayloadInner {
}
}
self.ack_latency.feed_ack();
log::info!("sent: {}", self.sent.len());
log::trace!("sent: {}", self.sent.len());
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/common/streamthread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,9 +582,9 @@ impl StreamData {
while history.front().is_some_and(|di| di.ts < drop_time || di.ts > dts) || history.len() > BUFFER_SIZE {
history.pop_front();
}
log::info!("history: {}", history.len());
log::trace!("history: {}", history.len());
let debug: Vec<Duration> = history.iter().map(|f| f.ts).collect();
log::info!("history ts: {:?}", debug);
log::trace!("history ts: {:?}", debug);
});
recieved_iframe = true;
aud_keyframe = true;
Expand Down

0 comments on commit e8aca0e

Please sign in to comment.