From 2056c799e1ea6b9cce8c08c54965ec013adacd5b Mon Sep 17 00:00:00 2001 From: Matt Keller Date: Sun, 8 Mar 2015 12:39:08 -0400 Subject: [PATCH] Comment correction --- cache.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cache.go b/cache.go index 4a850f6..2b368ea 100644 --- a/cache.go +++ b/cache.go @@ -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)