mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-01 02:31:33 +00:00
Add a BandwidthLogging transport wrapper (#911)
* Add a BandwidthLogging transport wrapper * Update src/bandwidth.rs Co-Authored-By: tomaka <pierre.krieger1708@gmail.com> * Limit by bytes.len * Write test for bandwidth report * Use the vector length instead of rolling_seconds
This commit is contained in:
@ -179,6 +179,7 @@ pub use libp2p_yamux as yamux;
|
||||
|
||||
mod transport_ext;
|
||||
|
||||
pub mod bandwidth;
|
||||
pub mod simple;
|
||||
|
||||
pub use self::core::{
|
||||
|
Reference in New Issue
Block a user