In memory gzip cache method use max compression

This commit is contained in:
Carlos Montiers
2016-08-26 22:09:41 +09:00
committed by Adrien Crivelli
parent d8850176a1
commit 6acd403251
@@ -37,7 +37,7 @@ class MemoryGZip extends CacheBase implements ICache
if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {
$this->currentObject->detach();
$this->cellCache[$this->currentObjectID] = gzdeflate(serialize($this->currentObject));
$this->cellCache[$this->currentObjectID] = gzdeflate(serialize($this->currentObject), 9);
$this->currentCellIsDirty = false;
}
$this->currentObjectID = $this->currentObject = null;