Commit 4aed34eb authored by marco's avatar marco Committed by Jeremy

Issue #3055155 by marco: MemCacheDrupal::getMultiple() issue with stampede protection

parent 6bbe0e14
......@@ -73,7 +73,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
// Clean up.
$results = dmemcache_get_multi($cids, $this->bin, $this->memcache);
foreach ($results as $cid => $result) {
foreach ($results as $cid => &$result) {
if (!$this->valid($cid, $result)) {
// This object has expired, so don't return it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment