提交 34ba7a8e 编写于 作者: A astaxie

update file cache

上级 b733b984
......@@ -143,7 +143,6 @@ func (this *FileCache) Put(key string, val interface{}, timeout int64) error {
} else {
item.Expired = time.Now().Unix() + timeout
}
item.Expired = time.Now().Unix() + timeout
item.Lastaccess = time.Now().Unix()
data, err := Gob_encode(item)
if err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册