X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmanageJobs.php;h=c1b038c1619af56dcaff433f4c52cc0c075d05a2;hb=69661f2fe8561bf965d66aa605d17ff46b72978c;hp=32333b768bf376b157bdb3c926f5fe18f9415d67;hpb=7471e1db1b613d035f981f489f8683a177acff7e;p=lhc%2Fweb%2Fwiklou.git 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(); } }