[freeside-commits] freeside/FS/FS/Cron bill.pm,1.14,1.15
Ivan,,,
ivan at wavetail.420.am
Fri Apr 17 12:50:13 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/Cron
In directory wavetail.420.am:/tmp/cvs-serv29115/FS/FS/Cron
Modified Files:
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.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- bill.pm 17 Apr 2009 19:21:04 -0000 1.14
+++ bill.pm 17 Apr 2009 19:50:11 -0000 1.15
@@ -129,8 +129,9 @@
#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',
+ 'secure' => 'Y',
+ '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