[freeside-commits] freeside/FS/FS/Cron bill.pm,1.2.2.5,1.2.2.6
Ivan,,,
ivan at wavetail.420.am
Fri Apr 17 12:50:23 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/Cron
In directory wavetail.420.am:/tmp/cvs-serv29135/FS/FS/Cron
Modified Files:
Tag: FREESIDE_1_7_BRANCH
bill.pm
Log Message:
add priority to job queue so billing jobs don't don't drown out provisioning jobs
Index: bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Cron/bill.pm,v
retrieving revision 1.2.2.5
retrieving revision 1.2.2.6
diff -u -d -r1.2.2.5 -r1.2.2.6
--- bill.pm 17 Apr 2009 12:08:48 -0000 1.2.2.5
+++ bill.pm 17 Apr 2009 19:50:21 -0000 1.2.2.6
@@ -124,8 +124,8 @@
#add job to queue that calls bill_and_collect with options
my $queue = new FS::queue {
- 'job' => 'FS::cust_main::queued_bill',
- 'secure' => 'Y',
+ 'job' => 'FS::cust_main::queued_bill',
+ 'priority' => 99, #don't get in the way of provisioning jobs
};
my $error = $queue->insert( 'custnum'=>$custnum, %args );
More information about the freeside-commits
mailing list