Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Patch for Magento's two-level cache priority bug
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