Hoo man has uploaded a new change for review.
https://gerrit.wikimedia.org/r/163842
Change subject: Split Wikibase's entity cache for HHVM/Zend
......................................................................
Split Wikibase's entity cache for HHVM/Zend
Bug: 71461
Change-Id: I197651871c3d68423980979603276b03f1dd64c0
---
M wmf-config/Wikibase.php
1 file changed, 5 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/42/163842/1
diff --git a/wmf-config/Wikibase.php b/wmf-config/Wikibase.php
index a36a2b3..82fa59e 100644
--- a/wmf-config/Wikibase.php
+++ b/wmf-config/Wikibase.php
@@ -81,12 +81,11 @@
$wgWBRepoSettings['dataSquidMaxage'] = 1 * 60 * 60;
$wgWBRepoSettings['sharedCacheDuration'] = 60 * 60 * 24;
- if ( $wmfVersionNumber === '1.24wmf21' ) {
- // temp hack to refresh cache for any broken things on
test.wikidata / test2
- // due to broken code deployed to 1.24wmf21. set here and for
client.
- $wgWBRepoSettings['sharedCacheKeyPrefix'] =
"$wmgWikibaseCachePrefix/WBL-1.24wmf21b";
- } else {
- $wgWBRepoSettings['sharedCacheKeyPrefix'] =
"$wmgWikibaseCachePrefix/WBL-$wmfVersionNumber";
+ $wgWBRepoSettings['sharedCacheKeyPrefix'] =
"$wmgWikibaseCachePrefix/WBL-$wmfVersionNumber";
+
+ if ( defined( 'HHVM_VERSION' ) ) {
+ // Split the cache up for hhvm. Bug 71461
+ $wgWBRepoSettings['sharedCacheKeyPrefix'] .= '-hhvm';
}
$wgPropertySuggesterMinProbability = 0.071;
--
To view, visit https://gerrit.wikimedia.org/r/163842
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I197651871c3d68423980979603276b03f1dd64c0
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits