attempt more tuning of torrus-srvderive, RT#10574
authorivan <ivan>
Sun, 22 May 2011 20:40:47 +0000 (20:40 +0000)
committerivan <ivan>
Sun, 22 May 2011 20:40:47 +0000 (20:40 +0000)
FS/bin/freeside-torrus-srvderive

index 23d2e44..19dd50e 100644 (file)
@@ -11,7 +11,7 @@ use FS::Record qw( qsearch str2time_sql str2time_sql_closing concat_sql );
 use FS::torrus_srvderive;
 
 our $DEBUG = 2;
-our $max_kids = 6;
+our $max_kids = 12;
 our $search_timeout = 60*60; #30*60; # 15*60 5*60; #$torrus_srvderive->last_srv_date ? 5*60 : 15*60);
 our %kids;
 
@@ -60,7 +60,7 @@ my $sql = "
 
 my $orderlimit = "
     ORDER BY srv_date, srv_time
-    LIMIT 50
+    LIMIT 100
 ";
 
 if ( driver_name =~ /mysql/i ) {