From d16e2299fb47c57268dd18bbea1e42cd1cff97f0 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 18 Mar 2009 02:22:47 +0000 Subject: [PATCH] (bug 17620) don't run jobs twice --- maintenance/runJobs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index e5cc6a7bd7..1340a85770 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -60,7 +60,7 @@ while ( $dbw->selectField( 'job', 'job_id', $conds, 'runJobs.php' ) ) { $status = $job->run(); $t = microtime( true ) - $t; $timeMs = intval( $t * 1000 ); - if ( !$job->run() ) { + if ( !$status ) { runJobsLog( $job->toString() . " t=$timeMs error={$job->error}" ); } else { runJobsLog( $job->toString() . " t=$timeMs good" ); -- 2.20.1