[2.0] Fixed issue with Memcache driver that was failing to store cache entries indefinately
This commit is contained in:
parent
583d276553
commit
d24be0b69b
@ -109,7 +109,7 @@ class MemcacheCache extends AbstractCache
|
|||||||
*/
|
*/
|
||||||
protected function _doSave($id, $data, $lifeTime = false)
|
protected function _doSave($id, $data, $lifeTime = false)
|
||||||
{
|
{
|
||||||
return $this->_memcache->set($id, $data, 0, $lifeTime);
|
return $this->_memcache->set($id, $data, 0, $lifeTime ?: 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user