dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
acae974
)
No it is not a FIFO, what's your point?
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 17 Mar 2009 08:37:25 +0000
(08:37 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 17 Mar 2009 08:37:25 +0000
(08:37 +0000)
includes/JobQueue.php
patch
|
blob
|
history
diff --git
a/includes/JobQueue.php
b/includes/JobQueue.php
index
a753958
..
afa757d
100644
(file)
--- 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
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 ) ) {
$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 ) ) {