mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
去掉缓存驱动的length参数
This commit is contained in:
3
library/think/cache/driver/Redis.php
vendored
3
library/think/cache/driver/Redis.php
vendored
@@ -17,7 +17,7 @@ use think\Exception;
|
||||
/**
|
||||
* Redis缓存驱动,适合单机部署、有前端代理实现高可用的场景,性能最好
|
||||
* 有需要在业务层实现读写分离、或者使用RedisCluster的需求,请使用Redisd驱动
|
||||
*
|
||||
*
|
||||
* 要求安装phpredis扩展:https://github.com/nicolasff/phpredis
|
||||
* @author 尘缘 <130775@qq.com>
|
||||
*/
|
||||
@@ -31,7 +31,6 @@ class Redis
|
||||
'timeout' => 0,
|
||||
'expire' => 0,
|
||||
'persistent' => false,
|
||||
'length' => 0,
|
||||
'prefix' => '',
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user