Created
September 28, 2016 11:28
-
-
Save samm-git/3ca30d650577813fbaa1ec99a5a2754e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Cm/Cache/Backend/Redis.php b/lib/Cm/Cache/Backend/Redis.php | |
index 34a0f13..ca408f8 100644 | |
--- a/lib/Cm/Cache/Backend/Redis.php | |
+++ b/lib/Cm/Cache/Backend/Redis.php | |
@@ -237,6 +237,7 @@ class Cm_Cache_Backend_Redis extends Zend_Cache_Backend implements Zend_Cache_Ba | |
{ | |
//@todo: remove cache prefix properly | |
$id = substr($id,4); | |
+ if ($id == "CONFIG_GLOBAL_LOCK") return false; | |
foreach ($this->_tmpCacheKeywords as $match) { | |
if (stripos($id, $match) === 0) { | |
return true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment