mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-13 05:25:59 +08:00
feat: msg local cache
This commit is contained in:
@@ -33,9 +33,7 @@ type cache[V any] struct {
|
||||
|
||||
func (c *cache[V]) onEvict(key string, value V) {
|
||||
for k := range c.link.Del(key) {
|
||||
if key != k {
|
||||
c.local.Del(k)
|
||||
}
|
||||
c.local.Del(k)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user