提交 4ae9f6ae 编写于 作者: lzc828's avatar lzc828

文件缓存 无过期时间

上级 92c93d48
......@@ -38,7 +38,7 @@ class File extends Cache
}
public function get($key, \Closure $closure = null, $ttl = 0, $tags = [])
public function get($key, \Closure $closure = null, $ttl = 315360000, $tags = [])
{
$k = $this->getTagKey($key, $tags);
$f = $this->getFileName($k);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册