fix overwrite bug

This commit is contained in:
Dennis Eichhorn 2019-12-08 11:48:27 +01:00
parent da10692f57
commit 1abce14674

View File

@ -107,7 +107,8 @@ class RedisCache extends ConnectionAbstract
if ($expire > 0) {
$this->con->setEx($key, $expire, $this->build($value));
var_dump($this->con->ttl($key));
return;
}
$this->con->set($key, $this->build($value));