[freeside-commits] freeside/FS/bin freeside-torrus-srvderive, 1.23, 1.24
Ivan,,,
ivan at wavetail.420.am
Sun Feb 27 13:32:25 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv2096/FS/bin
Modified Files:
freeside-torrus-srvderive
Log Message:
add start of torrus srvderive daemon, RT#10574
Index: freeside-torrus-srvderive
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-torrus-srvderive,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -w -d -r1.23 -r1.24
--- freeside-torrus-srvderive 27 Feb 2011 21:31:53 -0000 1.23
+++ freeside-torrus-srvderive 27 Feb 2011 21:32:23 -0000 1.24
@@ -8,7 +8,7 @@
use FS::Record qw( qsearch str2time_sql str2time_sql_closing concat_sql );
use FS::torrus_srvderive;
-our $DEBUG = 1;
+our $DEBUG = 3;
my $user = shift or die &usage;
$FS::Daemon::PID_NEWSTYLE = 1;
@@ -85,7 +85,7 @@
$orderlimit
";
- warn $sql if $DEBUG > 2;
+ warn $ssql if $DEBUG > 1;
my $sth = dbh->prepare($sql) or die $DBI::errstr; #better recovery?
$sth->execute($serviceid, $serviceid) or die $sth->errstr;
my $prev = 0;
@@ -121,7 +121,7 @@
300, #intvl ...
);
warn $isql. ' with param '. join(',', at param). "\n"
- if $DEBUG > 1;
+ if $DEBUG > 2;
my $isth = dbh->prepare($isql) or die $DBI::errstr; #better recovery?
$isth->execute( @param ) or die $isth->errstr;
More information about the freeside-commits
mailing list