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
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class MemoryGZip extends CacheBase implements ICache
if ($this->currentCellIsDirty && !empty($this->currentObjectID)) { if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {
$this->currentObject->detach(); $this->currentObject->detach();
$this->cellCache[$this->currentObjectID] = gzdeflate(serialize($this->currentObject)); $this->cellCache[$this->currentObjectID] = gzdeflate(serialize($this->currentObject), 9);
$this->currentCellIsDirty = false; $this->currentCellIsDirty = false;
} }
$this->currentObjectID = $this->currentObject = null; $this->currentObjectID = $this->currentObject = null;