mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 20:50:49 +00:00
update file cache
This commit is contained in:
parent
b733b98408
commit
34ba7a8e6c
1
cache/file.go
vendored
1
cache/file.go
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user