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:
fb395bb
)
Use CACHE_ACCEL for SiteLists if on HHVM
author
Marius Hoch
<hoo@online.de>
Sun, 19 Jul 2015 17:29:58 +0000
(12:29 -0500)
committer
Ori.livneh
<ori@wikimedia.org>
Sun, 19 Jul 2015 18:16:33 +0000
(18:16 +0000)
Bug: T58602
Change-Id: I3eeedddeb79cfbee734cfe49fe86d32bf826040a
includes/site/SiteSQLStore.php
patch
|
blob
|
history
diff --git
a/includes/site/SiteSQLStore.php
b/includes/site/SiteSQLStore.php
index
d77f07b
..
e3230ff
100644
(file)
--- a/
includes/site/SiteSQLStore.php
+++ b/
includes/site/SiteSQLStore.php
@@
-41,7
+41,7
@@
class SiteSQLStore extends CachingSiteStore {
*/
public static function newInstance( ORMTable $sitesTable = null, BagOStuff $cache = null ) {
if ( $cache === null ) {
- $cache = wfGet
MainCache(
);
+ $cache = wfGet
Cache( wfIsHHVM() ? CACHE_ACCEL : CACHE_ANYTHING
);
}
$siteStore = new DBSiteStore();