1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-18 11:44:15 +00:00

update file cache

This commit is contained in:
astaxie 2013-12-10 14:10:06 +08:00
parent b733b98408
commit 34ba7a8e6c

1
cache/file.go vendored
View File

@ -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 {