-
-
Save splendidinternet/1011933 to your computer and use it in GitHub Desktop.
Patch for Magento's two-level cache priority bug
This file contains 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
Index: lib/Varien/Cache/Core.php | |
=================================================================== | |
--- lib/Varien/Cache/Core.php (revision 63515) | |
+++ lib/Varien/Cache/Core.php (working copy) | |
@@ -70,7 +70,7 @@ | |
* @throws Zend_Cache_Exception | |
* @return boolean True if no problem | |
*/ | |
- public function save($data, $id = null, $tags = array(), $specificLifetime = false, $priority = 8) | |
+ public function save($data, $id = null, $tags = array(), $specificLifetime = false, $priority = 10) | |
{ | |
$tags = $this->_tags($tags); | |
return parent::save($data, $id, $tags, $specificLifetime, $priority); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment