From: Tim Starling Date: Tue, 17 Mar 2009 08:37:25 +0000 (+0000) Subject: No it is not a FIFO, what's your point? X-Git-Tag: 1.31.0-rc.0~42468 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=562a5e393b1458425c43a088d25a23814ff0ac98;p=lhc%2Fweb%2Fwiklou.git No it is not a FIFO, what's your point? --- diff --git a/includes/JobQueue.php b/includes/JobQueue.php index a753958fe7..afa757d752 100644 --- a/includes/JobQueue.php +++ b/includes/JobQueue.php @@ -126,7 +126,6 @@ abstract class Job { if ( !$affected ) { // Failed, someone else beat us to it // Try getting a random row - // FIXME: FIFO??? $row = $dbw->selectRow( 'job', array( 'MIN(job_id) as minjob', 'MAX(job_id) as maxjob' ), '1=1', __METHOD__ ); if ( $row === false || is_null( $row->minjob ) || is_null( $row->maxjob ) ) {