mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-10-20 18:56:21 +00:00
Address feedback from Niklas
This commit is contained in:
15 files changed
+62
-38
No files matched your search
@@ -191,7 +191,7 @@ where
|
||||
{
|
||||
// Limit the number of bytes based on a rolling total and the incoming bytes per second
|
||||
// that has been configured via the CLI opts.
|
||||
let bytes_per_second = bytes_per_second.into_bytes();
|
||||
let bytes_per_second = bytes_per_second.num_bytes();
|
||||
let mut rolling_total_bytes = RollingTotalBuilder::new()
|
||||
.granularity(Duration::from_secs(1))
|
||||
.window_size_multiple(10)
|
||||
|
||||
Reference in new issue
Block a user