Refactor periodic loggers and limit batch size for small packets (#2835)

* Refactor periodic loggers

* Limit network batch size also by packet count

Previously it was limited only by size, and exceeding 64 packets in a
single batch is asking for problems.
This commit is contained in:
ns6089
2024-07-13 23:55:03 +03:00
committed by GitHub
parent 8187a28afc
commit 18e7dfb190
12 changed files with 186 additions and 110 deletions

View File

@@ -11,4 +11,9 @@ namespace stat_trackers {
return boost::format("%1$.1f");
}
boost::format
two_digits_after_decimal() {
return boost::format("%1$.2f");
}
} // namespace stat_trackers