sm
/
cache
1
0
Fork 0

Comment correction

This commit is contained in:
Matt Keller 2015-03-08 12:39:08 -04:00
parent bf414c412e
commit 2056c799e1
1 changed files with 1 additions and 2 deletions

View File

@ -1109,8 +1109,7 @@ func (c *cache) DeleteLRU(numItems int) {
}
if lastTime > 0 {
// We expire the items, but making it look .Expired(),
// so the janitor will clean it up for us
// Clean up the items
for i := 0; i < len(lastItems) && lastItems[i] != ""; i++ {
lastName := lastItems[i]
c.delete(lastName)