update file cache
Showing
1 changed file
with
0 additions
and
1 deletions
| ... | @@ -143,7 +143,6 @@ func (this *FileCache) Put(key string, val interface{}, timeout int64) error { | ... | @@ -143,7 +143,6 @@ func (this *FileCache) Put(key string, val interface{}, timeout int64) error { |
| 143 | } else { | 143 | } else { |
| 144 | item.Expired = time.Now().Unix() + timeout | 144 | item.Expired = time.Now().Unix() + timeout |
| 145 | } | 145 | } |
| 146 | item.Expired = time.Now().Unix() + timeout | ||
| 147 | item.Lastaccess = time.Now().Unix() | 146 | item.Lastaccess = time.Now().Unix() |
| 148 | data, err := Gob_encode(item) | 147 | data, err := Gob_encode(item) |
| 149 | if err != nil { | 148 | if err != nil { | ... | ... |
-
Please register or sign in to post a comment