update to 2.8.9, fix light cache wrong

This commit is contained in:
crazywhalecc
2023-06-12 18:33:06 +08:00
committed by Jerry Ma
parent 21f310852a
commit ea83ea2cce
2 changed files with 3 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ class LightCache
} else { } else {
return false; return false;
} }
$result = self::$kv_table->set((string)$k, [ $result = self::$kv_table->set((string) $k, [
'value' => $value, 'value' => $value,
'expire' => $v['expire'], 'expire' => $v['expire'],
'data_type' => $data_type, 'data_type' => $data_type,

View File

@@ -6,6 +6,7 @@ namespace ZM\Store;
use Exception; use Exception;
use Swoole\Table; use Swoole\Table;
use ZM\Config\ZMConfig;
use ZM\Exception\LightCacheException; use ZM\Exception\LightCacheException;
use ZM\Exception\ZMException; use ZM\Exception\ZMException;