mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-23 16:22:31 +02:00
save config
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user