mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
try to fix expire bug
This commit is contained in:
parent
25a24c5916
commit
89dd33bd99
|
|
@ -106,7 +106,7 @@ class RedisCache extends ConnectionAbstract
|
|||
}
|
||||
|
||||
if ($expire > 0) {
|
||||
$this->con->set($key, $this->build($value), $expire);
|
||||
$this->con->setEx($key, $expire, $this->build($value));
|
||||
}
|
||||
|
||||
$this->con->set($key, $this->build($value));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user