Try with $idBackup

master
Heuzef 5 years ago
parent b03b7593a2
commit 49510476d8
  1. 2
      Check.pm

@ -107,7 +107,7 @@ sub action
my $sizeConsistencyColor = "Tomato";
my $sizeConsistency = "<strong>ANOMALOUS</strong>";
if ( $backup->{num} > 4 ) { # There are enough backup ?
if ( $idBackup > 4 ) { # There are enough backup ?
# 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 ) {

Loading…
Cancel
Save