dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add version to ChronologyProtector key
[lhc/web/wiklou.git]
/
includes
/
jobqueue
/
JobQueueFederated.php
diff --git
a/includes/jobqueue/JobQueueFederated.php
b/includes/jobqueue/JobQueueFederated.php
index
c127239
..
bd832db
100644
(file)
--- a/
includes/jobqueue/JobQueueFederated.php
+++ b/
includes/jobqueue/JobQueueFederated.php
@@
-49,7
+49,7
@@
class JobQueueFederated extends JobQueue {
/** @var HashRing */
protected $partitionRing;
class JobQueueFederated extends JobQueue {
/** @var HashRing */
protected $partitionRing;
- /** @var
array
(partition name => JobQueue) reverse sorted by weight */
+ /** @var
JobQueue[]
(partition name => JobQueue) reverse sorted by weight */
protected $partitionQueues = [];
/** @var int Maximum number of partitions to try */
protected $partitionQueues = [];
/** @var int Maximum number of partitions to try */
@@
-311,7
+311,7
@@
class JobQueueFederated extends JobQueue {
throw new MWException( "The given job has no defined partition name." );
}
throw new MWException( "The given job has no defined partition name." );
}
-
return
$this->partitionQueues[$job->metadata['QueuePartition']]->ack( $job );
+ $this->partitionQueues[$job->metadata['QueuePartition']]->ack( $job );
}
protected function doIsRootJobOldDuplicate( Job $job ) {
}
protected function doIsRootJobOldDuplicate( Job $job ) {