[freeside-commits] freeside/torrus/perllib/Torrus/ReportOutput Freeside.pm, 1.2, 1.3
Ivan,,,
ivan at wavetail.420.am
Sun Jan 30 15:46:01 PST 2011
Update of /home/cvs/cvsroot/freeside/torrus/perllib/Torrus/ReportOutput
In directory wavetail.420.am:/tmp/cvs-serv3177/ReportOutput
Modified Files:
Freeside.pm
Log Message:
fix torrus interface slowness resulting from initializing FS for every component, RT#10574
Index: Freeside.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/torrus/perllib/Torrus/ReportOutput/Freeside.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- Freeside.pm 30 Dec 2010 17:33:10 -0000 1.2
+++ Freeside.pm 30 Jan 2011 23:45:58 -0000 1.3
@@ -6,9 +6,13 @@
use FS::UID qw(adminsuidsetup);
use FS::TicketSystem;
+our $issetup = 0;
+
sub freesideSetup {
#my $self = shift;
+ return if $issetup++;
+
adminsuidsetup('fs_queue'); #XXX for now
FS::TicketSystem->init();
More information about the freeside-commits
mailing list