Merge "MessageCache: do not store the EXCESSIVE array as it is only needed for HASH"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 4 Oct 2018 02:43:09 +0000 (02:43 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 4 Oct 2018 02:43:09 +0000 (02:43 +0000)
includes/cache/MessageCache.php

index bf2ed2e..a08b897 100644 (file)
@@ -551,6 +551,7 @@ class MessageCache {
                # stored and fetched from memcache.
                $cache['HASH'] = md5( serialize( $cache ) );
                $cache['EXPIRY'] = wfTimestamp( TS_MW, time() + $this->mExpiry );
+               unset( $cache['EXCESSIVE'] ); // only needed for hash
 
                return $cache;
        }