Skip to content

Instantly share code, notes, and snippets.

@samm-git
Created September 28, 2016 11:28
Show Gist options
  • Save samm-git/3ca30d650577813fbaa1ec99a5a2754e to your computer and use it in GitHub Desktop.
Save samm-git/3ca30d650577813fbaa1ec99a5a2754e to your computer and use it in GitHub Desktop.
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