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:
69d27cc
)
jobqueue: clean up JobQueueDB::getCacheKey() to use makeGlobalKey()
author
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 13 Oct 2018 07:14:38 +0000
(
00:14
-0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 13 Oct 2018 07:14:38 +0000
(
00:14
-0700)
Change-Id: I341720fda0d242c7822f78048cb49f63538d08bc
includes/jobqueue/JobQueueDB.php
patch
|
blob
|
history
diff --git
a/includes/jobqueue/JobQueueDB.php
b/includes/jobqueue/JobQueueDB.php
index
0b85fbe
..
0ae106d
100644
(file)
--- a/
includes/jobqueue/JobQueueDB.php
+++ b/
includes/jobqueue/JobQueueDB.php
@@
-787,10
+787,10
@@
class JobQueueDB extends JobQueue {
* @return string
*/
private function getCacheKey( $property ) {
- list( $db, $prefix ) = wfSplitWikiID( $this->wiki );
$cluster = is_string( $this->cluster ) ? $this->cluster : 'main';
- return wfForeignMemcKey( $db, $prefix, 'jobqueue', $cluster, $this->type, $property );
+ return $this->cache->makeGlobalKey(
+ 'jobqueue', $this->wiki, $cluster, $this->type, $property );
}
/**