diff options
author | ivan <ivan> | 2011-04-08 17:35:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-08 17:35:00 +0000 |
commit | f5db805d56f8d7e5a68cd4a7a77e885767f049f4 (patch) | |
tree | fcce57fd40620f224c757718586cf815542e5a55 /FS | |
parent | a604b9d9a87a415d64f1fc3c159f0a89302b137c (diff) |
continue attempting to handle mysql hanging on queries, RT#10574
Diffstat (limited to 'FS')
-rw-r--r-- | FS/bin/freeside-torrus-srvderive | 4 |
1 files changed, 1 insertions, 3 deletions
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 ) { |