Delete operation performs the store.delete twice

Moved from GitHub ristretto/170

Posted by jarifibrahim:

When an item is deleted by cache.Del(key), we delete it from the store on the following line

the same item is deleted again in the process() goroutine

I don’t think there’s a major side-effect of doing this but we’re doing unnecessary work by deleting an already deleted key.