From a1367b54280c992366791c6b210149a9346fb0e2 Mon Sep 17 00:00:00 2001 From: "sinu.eth" <65924192+sinui0@users.noreply.github.com> Date: Fri, 22 Aug 2025 14:00:23 -0700 Subject: [PATCH] refactor(tlsn): change network setting default to reduce data transfer (#971) --- crates/tlsn/src/config.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/tlsn/src/config.rs b/crates/tlsn/src/config.rs index 7adeebbb2..c8cedbdd3 100644 --- a/crates/tlsn/src/config.rs +++ b/crates/tlsn/src/config.rs @@ -233,15 +233,17 @@ impl ProtocolConfigValidator { /// situations. #[derive(Debug, Clone, Copy, Serialize, Deserialize)] pub enum NetworkSetting { - /// Prefers a bandwidth-heavy protocol. + /// Reduces network round-trips at the expense of consuming more network + /// bandwidth. Bandwidth, - /// Prefers a latency-heavy protocol. + /// Reduces network bandwidth utilization at the expense of more network + /// round-trips. Latency, } impl Default for NetworkSetting { fn default() -> Self { - Self::Bandwidth + Self::Latency } }