From 31f24371b5163d6e66c3eb0c9190d27eb4bb8904 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Fri, 19 Feb 2021 16:58:15 +0100 Subject: [PATCH] Ajust calcul if the size is too big than usual --- Check.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Check.pm b/Check.pm index 45e7a8f..450bcf6 100644 --- a/Check.pm +++ b/Check.pm @@ -108,8 +108,8 @@ sub action my $sizeConsistencyColor = "Tomato"; my $sizeConsistency = "ANOMALOUS"; - # TOO BIG ? If the size is 6 times higher than usual : - if ( $new_size > ($new_size_q3 + ($new_size_q3 - $new_size_q1) ) * 1.5 and $new_size > $new_size_avg * 6 ) { + # TOO BIG ? If the size is 3 times higher than usual : + if ( $new_size > ($new_size_q3 + ($new_size_q3 - $new_size_q1) ) * 1.5 and $new_size > $new_size_avg * 3 ) { $toobig = 1; }