From: ivan Date: Fri, 8 Apr 2011 17:35:00 +0000 (+0000) Subject: continue attempting to handle mysql hanging on queries, RT#10574 X-Git-Tag: freeside_2_3_0~431 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=f5db805d56f8d7e5a68cd4a7a77e885767f049f4;p=freeside.git continue attempting to handle mysql hanging on queries, RT#10574 --- diff --git a/FS/bin/freeside-torrus-srvderive b/FS/bin/freeside-torrus-srvderive index c368703a4..b9ea95bfc 100644 --- a/FS/bin/freeside-torrus-srvderive +++ b/FS/bin/freeside-torrus-srvderive @@ -113,8 +113,6 @@ MAIN: while (1) { warn $ssql if $DEBUG > 2; my $sth = dbh->prepare($ssql) or die $DBI::errstr; #better recovery here? - warn "executing search\n" if $DEBUG; - eval { my $h = set_sig_handler( 'ALRM', sub { die "_timeout\n"; } ); alarm(10*60); #5*60); #$torrus_srvderive->last_srv_date ? 5*60 : 15*60); @@ -134,7 +132,7 @@ MAIN: while (1) { die $@; } - warn "search executed; checking results\n" if $DEBUG; + warn "search finished; checking results\n" if $DEBUG; my $prev = 0; while ( my $row = $sth->fetchrow_arrayref ) {