udp: initial support for listing peer clients

This commit is contained in:
Joakim Frostegård 2023-06-06 01:04:37 +02:00
parent 977349ec03
commit a74d6aa458
14 changed files with 213 additions and 68 deletions

View file

@ -161,10 +161,9 @@ impl Default for ProtocolConfig {
pub struct StatisticsConfig {
/// Collect and print/write statistics this often (seconds)
pub interval: u64,
/// Enable extended statistics (on peers per torrent)
/// Enable extended statistics (on peers per torrent and on peer clients)
///
/// Will increase time taken for torrent cleaning, since that's when
/// these statistics are collected.
/// Will increase time taken for request handling and torrent cleaning
pub extended: bool,
/// Print statistics to standard output
pub print_to_stdout: bool,