From 0f6e33b8736abc5c2cc0be00892f83a201fcd0d4 Mon Sep 17 00:00:00 2001 From: euzu Date: Thu, 6 Nov 2025 22:31:41 +0100 Subject: [PATCH] removed forced_retry_connect from webui, because this setting is only for test purposes. --- .../app/components/config/reverse_proxy_config_view.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/components/config/reverse_proxy_config_view.rs b/frontend/src/app/components/config/reverse_proxy_config_view.rs index d58d1b46b..631b97041 100644 --- a/frontend/src/app/components/config/reverse_proxy_config_view.rs +++ b/frontend/src/app/components/config/reverse_proxy_config_view.rs @@ -19,7 +19,7 @@ const LABEL_RETRY: &str = "LABEL.RETRY"; const LABEL_THROTTLE: &str = "LABEL.THROTTLE"; const LABEL_GRACE_PERIOD_MILLIS: &str = "LABEL.GRACE_PERIOD_MILLIS"; const LABEL_GRACE_PERIOD_TIMEOUT_SECS: &str = "LABEL.GRACE_PERIOD_TIMEOUT_SECS"; -const LABEL_FORCED_RETRY_INTERVAL_SECS: &str = "LABEL.FORCED_RETRY_INTERVAL_SECS"; +//const LABEL_FORCED_RETRY_INTERVAL_SECS: &str = "LABEL.FORCED_RETRY_INTERVAL_SECS"; const LABEL_THROTTLE_KBPS: &str = "LABEL.THROTTLE_KBPS"; const LABEL_RATE_LIMIT: &str = "LABEL.RATE_LIMIT"; @@ -64,7 +64,7 @@ generate_form_reducer!( Throttle => throttle: Option, GracePeriodMillis => grace_period_millis: u64, GracePeriodTimeoutSecs => grace_period_timeout_secs: u64, - ForcedRetryIntervalSecs => forced_retry_interval_secs: u32, + //ForcedRetryIntervalSecs => forced_retry_interval_secs: u32, ThrottleKbps => throttle_kbps: u64, } ); @@ -210,7 +210,7 @@ pub fn ReverseProxyConfigView() -> Html { { config_field_optional!(stream_state.form, translate.t(LABEL_THROTTLE), throttle) } { config_field!(stream_state.form, translate.t(LABEL_GRACE_PERIOD_MILLIS), grace_period_millis) } { config_field!(stream_state.form, translate.t(LABEL_GRACE_PERIOD_TIMEOUT_SECS), grace_period_timeout_secs) } - { config_field!(stream_state.form, translate.t(LABEL_FORCED_RETRY_INTERVAL_SECS), forced_retry_interval_secs) } + //{ config_field!(stream_state.form, translate.t(LABEL_FORCED_RETRY_INTERVAL_SECS), forced_retry_interval_secs) } { config_field!(stream_state.form, translate.t(LABEL_THROTTLE_KBPS), throttle_kbps) } } @@ -317,7 +317,7 @@ pub fn ReverseProxyConfigView() -> Html { { edit_field_text_option!(stream_state, translate.t(LABEL_THROTTLE), throttle, StreamConfigFormAction::Throttle) } { edit_field_number_u64!(stream_state, translate.t(LABEL_GRACE_PERIOD_MILLIS), grace_period_millis, StreamConfigFormAction::GracePeriodMillis) } { edit_field_number_u64!(stream_state, translate.t(LABEL_GRACE_PERIOD_TIMEOUT_SECS), grace_period_timeout_secs, StreamConfigFormAction::GracePeriodTimeoutSecs) } - { edit_field_number!(stream_state, translate.t(LABEL_FORCED_RETRY_INTERVAL_SECS), forced_retry_interval_secs, StreamConfigFormAction::ForcedRetryIntervalSecs) } + //{ edit_field_number!(stream_state, translate.t(LABEL_FORCED_RETRY_INTERVAL_SECS), forced_retry_interval_secs, StreamConfigFormAction::ForcedRetryIntervalSecs) } { edit_field_number_u64!(stream_state, translate.t(LABEL_THROTTLE_KBPS), throttle_kbps, StreamConfigFormAction::ThrottleKbps) }