projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3907da4
)
200 records at a time, 16 kids and a two hour search timeout. any improvement??
author
ivan
<ivan>
Thu, 2 Jun 2011 22:15:56 +0000
(22:15 +0000)
committer
ivan
<ivan>
Thu, 2 Jun 2011 22:15:56 +0000
(22:15 +0000)
FS/bin/freeside-torrus-srvderive
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-torrus-srvderive
b/FS/bin/freeside-torrus-srvderive
index
19dd50e
..
765bd22
100644
(file)
--- a/
FS/bin/freeside-torrus-srvderive
+++ b/
FS/bin/freeside-torrus-srvderive
@@
-11,8
+11,8
@@
use FS::Record qw( qsearch str2time_sql str2time_sql_closing concat_sql );
use FS::torrus_srvderive;
our $DEBUG = 2;
use FS::torrus_srvderive;
our $DEBUG = 2;
-our $max_kids = 1
2
;
-our $search_timeout = 60*60; #30*60; # 15*60 5*60; #$torrus_srvderive->last_srv_date ? 5*60 : 15*60);
+our $max_kids = 1
6
;
+our $search_timeout =
2*60*60; #
60*60; #30*60; # 15*60 5*60; #$torrus_srvderive->last_srv_date ? 5*60 : 15*60);
our %kids;
my $user = shift or die &usage;
our %kids;
my $user = shift or die &usage;
@@
-60,7
+60,7
@@
my $sql = "
my $orderlimit = "
ORDER BY srv_date, srv_time
my $orderlimit = "
ORDER BY srv_date, srv_time
- LIMIT
1
00
+ LIMIT
2
00
";
if ( driver_name =~ /mysql/i ) {
";
if ( driver_name =~ /mysql/i ) {