34ba7a8e by astaxie

update file cache

1 parent 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 {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!