From e6b0585372722539f32f757c697243498d20f8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Thu, 8 Jun 2023 01:25:58 +0200 Subject: [PATCH] udp: update config comments --- aquatic_udp/src/config.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aquatic_udp/src/config.rs b/aquatic_udp/src/config.rs index 2be8729..4aac6cb 100644 --- a/aquatic_udp/src/config.rs +++ b/aquatic_udp/src/config.rs @@ -169,7 +169,8 @@ pub struct StatisticsConfig { /// /// Also, see `prometheus_peer_id_prefixes`. /// - /// Quite costly when it comes to CPU and RAM. + /// Expect a certain CPU hit (maybe 5% higher consumption) and a bit higher + /// memory use pub peer_clients: bool, /// Print statistics to standard output pub print_to_stdout: bool, @@ -184,6 +185,7 @@ pub struct StatisticsConfig { #[cfg(feature = "prometheus")] pub prometheus_endpoint_address: SocketAddr, /// Serve information on all peer id prefixes on the prometheus endpoint. + /// /// Requires `peer_clients` to be activated. /// /// May consume quite a bit of CPU and RAM, since data on every single peer