File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,13 @@ compare_stat_p90() {
2222 local current_value=" $2 "
2323 local stat_name=" $3 "
2424
25- # Calculate 125% of the past value
25+
26+ # Calculate 150% of the past value
2627 local threshold=$( calculate_threshold " $past_value " )
2728
2829 # Compare the current value with the threshold
2930 if (( $(echo "$current_value > $threshold " | bc - l) )) ; then
30- echo " ERROR: $stat_name - Current P90 value ($current_value ) exceeds the 125 % threshold ($threshold ) of the past P90 value ($past_value )"
31+ echo " ERROR: $stat_name - Current P90 value ($current_value ) exceeds the 150 % threshold ($threshold ) of the past P90 value ($past_value )"
3132 return 1
3233 fi
3334
@@ -36,7 +37,8 @@ compare_stat_p90() {
3637
3738calculate_threshold () {
3839 local past_value=" $1 "
39- awk -v past=" $past_value " ' BEGIN { print past * 1.25 }'
40+ awk -v past=" $past_value " ' BEGIN { print past * 1.5 }'
41+
4042}
4143
4244calculate_p90_after_skip () {
You can’t perform that action at this time.
0 commit comments