bugfix:将feature.stream_bypass_trigger_cpu_usage修改为advanced_settings.stream_bypass_trigger_cpu_usage
This commit is contained in:
@@ -82,7 +82,7 @@ dictator_enable=1
|
||||
|
||||
### note, cpu usage value is percent, for example, config value is 85, means 85%, valid range: [1,100]
|
||||
### sapp change to bypass state immediately when realtime cpu usage > bypass_trigger_cpu_usage
|
||||
{% raw %}bypass_trigger_cpu_usage={{ feature.stream_bypass_trigger_cpu_usage }}
|
||||
{% raw %}bypass_trigger_cpu_usage={{ advanced_settings.stream_bypass_trigger_cpu_usage }}
|
||||
{% endraw %}
|
||||
|
||||
### note, unit of get_cpu_usage_interval is milliseconds(ms)
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
feature:
|
||||
enable_policy_local_cache: 1
|
||||
enable_stream_bypass_under_ddos: 0
|
||||
stream_bypass_trigger_cpu_usage: 85
|
||||
|
||||
firewall:
|
||||
enable: 1
|
||||
@@ -38,4 +37,5 @@ advanced_settings:
|
||||
stream_tcp_max: 100000
|
||||
stream_tcp_timeout: 30
|
||||
stream_udp_max: 100000
|
||||
stream_udp_timeout: 60
|
||||
stream_udp_timeout: 60
|
||||
stream_bypass_trigger_cpu_usage: 85
|
||||
@@ -1,6 +1,5 @@
|
||||
feature:
|
||||
enable_stream_bypass_under_ddos: 0
|
||||
stream_bypass_trigger_cpu_usage: 85
|
||||
|
||||
firewall:
|
||||
enable: 1
|
||||
@@ -37,4 +36,5 @@ advanced_settings:
|
||||
stream_tcp_max: 100000
|
||||
stream_tcp_timeout: 30
|
||||
stream_udp_max: 100000
|
||||
stream_udp_timeout: 60
|
||||
stream_udp_timeout: 60
|
||||
stream_bypass_trigger_cpu_usage: 85
|
||||
@@ -8,7 +8,6 @@ data_center:
|
||||
feature:
|
||||
enable_policy_local_cache: 1
|
||||
enable_stream_bypass_under_ddos: 0
|
||||
stream_bypass_trigger_cpu_usage: 85
|
||||
|
||||
firewall:
|
||||
enable: 0/1
|
||||
|
||||
@@ -7,7 +7,6 @@ data_center:
|
||||
|
||||
feature:
|
||||
enable_stream_bypass_under_ddos: 0
|
||||
stream_bypass_trigger_cpu_usage: 85
|
||||
|
||||
firewall:
|
||||
enable: 0/1
|
||||
|
||||
Reference in New Issue
Block a user