From 2245576b4b8a1e53c501f8a556aacde0f0ac4aed Mon Sep 17 00:00:00 2001 From: fumingwei Date: Mon, 8 Jul 2024 11:40:36 +0800 Subject: [PATCH] bugfix:TSG-21734:fix render smooth_avg_window in sapp.toml value error. --- ansible/roles/traffic-engine/files/helm/conf/sapp.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/traffic-engine/files/helm/conf/sapp.toml b/ansible/roles/traffic-engine/files/helm/conf/sapp.toml index 869d7bc5..d5aea569 100644 --- a/ansible/roles/traffic-engine/files/helm/conf/sapp.toml +++ b/ansible/roles/traffic-engine/files/helm/conf/sapp.toml @@ -93,7 +93,7 @@ bypass_trigger_cpu_usage={{ .Values.overload_protection.detect_threshold_cpu_usa ### note, unit of get_cpu_usage_interval is milliseconds(ms) get_cpu_usage_interval={{ .Values.overload_protection.detect_interval_in_ms }} ### note, use the average of the last $smooth_avg_window times as current realtime value - smooth_avg_window={{ .Values.overload_protection.detect_interval_in_ms }} + smooth_avg_window={{ .Values.overload_protection.detect_smooth_avg_window }} decrease_ratio="0.95" increase_ratio="1.005"