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:
8aaed96
)
Added wiki ID to getCoalesceLocationInternal()
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 3 Oct 2013 21:27:10 +0000
(14:27 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 3 Oct 2013 23:51:54 +0000
(23:51 +0000)
Change-Id: Ia1ab1883808b669e3c3b442d860c1c562e984564
includes/job/JobQueueDB.php
patch
|
blob
|
history
diff --git
a/includes/job/JobQueueDB.php
b/includes/job/JobQueueDB.php
index
2052fc1
..
af21bc1
100644
(file)
--- a/
includes/job/JobQueueDB.php
+++ b/
includes/job/JobQueueDB.php
@@
-605,7
+605,9
@@
class JobQueueDB extends JobQueue {
}
public function getCoalesceLocationInternal() {
- return $this->cluster ? "DBCluster:{$this->cluster}" : "LBFactory:{$this->wiki}";
+ return $this->cluster
+ ? "DBCluster:{$this->cluster}:{$this->wiki}"
+ : "LBFactory:{$this->wiki}";
}
protected function doGetSiblingQueuesWithJobs( array $types ) {