From d3f91c1675910425c8f0ead29cb96e1c975aa56c Mon Sep 17 00:00:00 2001 From: euzu Date: Sat, 30 Aug 2025 22:10:14 +0200 Subject: [PATCH] save config --- shared/src/model/config/stream.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/src/model/config/stream.rs b/shared/src/model/config/stream.rs index 762e131a8..2275bd18f 100644 --- a/shared/src/model/config/stream.rs +++ b/shared/src/model/config/stream.rs @@ -62,6 +62,8 @@ impl StreamConfigDto { } if let Some(throttle) = &self.throttle { parse_to_kbps(throttle).map_err(|err| TuliproxError::new(TuliproxErrorKind::Info, err))?; + } else { + self.throttle_kbps = 0; } if self.grace_period_millis > 0 {