fastcache icon indicating copy to clipboard operation
fastcache copied to clipboard

contribution to the workingsetcache.go

Open hiqsociety opened this issue 4 years ago • 2 comments

//sort of missing the deletion and so here it is. func (c *Cache) Del(key []byte) { curr := c.curr.Load().(*fastcache.Cache) curr.Del(key) prev := c.prev.Load().(*fastcache.Cache) prev.Del(key) }

hiqsociety avatar Jul 05 '21 14:07 hiqsociety

Are you talking about https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/lib/workingsetcache/cache.go ?

cristaloleg avatar Jul 05 '21 14:07 cristaloleg

yes

hiqsociety avatar Jul 10 '21 01:07 hiqsociety