Legoktm has uploaded a new change for review. https://gerrit.wikimedia.org/r/212001
Change subject: registration: Have cache entries expire after 24 hours ...................................................................... registration: Have cache entries expire after 24 hours Since our cache invalidation strategy is to just change the key, don't have old entries stick around forever. Change-Id: Ib62b69adfc2855a2ecd08558d4054d9b5d3ed571 (cherry picked from commit 4360f0e21af706833581e244226515a9184cfab1) --- M includes/registration/ExtensionRegistry.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/01/212001/1 diff --git a/includes/registration/ExtensionRegistry.php b/includes/registration/ExtensionRegistry.php index 8e50b89..230934a 100644 --- a/includes/registration/ExtensionRegistry.php +++ b/includes/registration/ExtensionRegistry.php @@ -95,7 +95,7 @@ // did that, but it should be cached $data['globals']['wgAutoloadClasses'] += $data['autoload']; unset( $data['autoload'] ); - $this->cache->set( $key, $data ); + $this->cache->set( $key, $data, 60 * 60 * 24 ); } $this->queued = array(); } -- To view, visit https://gerrit.wikimedia.org/r/212001 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib62b69adfc2855a2ecd08558d4054d9b5d3ed571 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: REL1_25 Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits