X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FmanageJobs.php;h=c1b038c1619af56dcaff433f4c52cc0c075d05a2;hp=32333b768bf376b157bdb3c926f5fe18f9415d67;hb=86d7bd86fa08db2dbf3651a656d8238a34703c4f;hpb=b95ca29602793f39191c06cd6941e3f32ab1bbb8 diff --git a/maintenance/manageJobs.php b/maintenance/manageJobs.php index 32333b768b..c1b038c161 100644 --- a/maintenance/manageJobs.php +++ b/maintenance/manageJobs.php @@ -48,7 +48,7 @@ class ManageJobs extends Maintenance { } elseif ( $action === 'repush-abandoned' ) { $this->repushAbandoned( $queue ); } else { - $this->error( "Invalid action '$action'.", 1 ); + $this->fatalError( "Invalid action '$action'." ); } } @@ -82,7 +82,7 @@ class ManageJobs extends Maintenance { $queue->push( $job ); ++$count; - if ( ( $count % $this->mBatchSize ) == 0 ) { + if ( ( $count % $this->getBatchSize() ) == 0 ) { $queue->waitForBackups(); } }