1 helps alot
[freeside.git] / FS / FS / Cron / check.pm
index 39dd168..7e4655f 100644 (file)
@@ -65,14 +65,14 @@ sub check_apache {
   my $req = new HTTP::Request GET => 'https://localhost/';
   my $res = $ua->request($req);
 
-  return 1 if $res->is_success;
+  return 1 if $res->is_success || $res->status_line =~ /^403/;
   $error_msg = $res->status_line;
   return 0;
 
 }
 
 #and now for something entirely different...
-my $num_consecutive_bop_failures = 10;
+my $num_consecutive_bop_failures = 40;
 sub check_bop_failures {
 
   return 1 if grep { $_->statustext eq 'captured' }