X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmanageJobs.php;h=32333b768bf376b157bdb3c926f5fe18f9415d67;hb=31495b9e60e01438f5906cb24d484599e4930e66;hp=9585ed82b6c48281cbc8b1b55a076a16a3ad6a30;hpb=96491f80d3481190605006c71a8421857adda58e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/manageJobs.php b/maintenance/manageJobs.php index 9585ed82b6..32333b768b 100644 --- a/maintenance/manageJobs.php +++ b/maintenance/manageJobs.php @@ -19,7 +19,6 @@ * * @file * @ingroup Maintenance - * @author Aaron Schulz */ require_once __DIR__ . '/Maintenance.php'; @@ -75,7 +74,7 @@ class ManageJobs extends Maintenance { $skipped = 0; foreach ( $queue->getAllAbandonedJobs() as $job ) { /** @var Job $job */ - if ( $job->getQueuedTimestamp() < $lastRepushTime ) { + if ( $job->getQueuedTimestamp() < wfTimestamp( TS_UNIX, $lastRepushTime ) ) { ++$skipped; continue; // already re-pushed in prior round }