localcache

This commit is contained in:
withchao
2024-01-10 15:06:12 +08:00
parent 7a67beb7a1
commit da2c0d11f5
4 changed files with 20 additions and 3 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ func NewFriendCacheRedis(rdb redis.UniversalClient, friendDB relationtb.FriendMo
func (f *FriendCacheRedis) NewCache() FriendCache {
return &FriendCacheRedis{
rcClient: f.rcClient,
metaCache: NewMetaCacheRedis(f.rcClient, f.metaCache.GetPreDelKeys()...),
metaCache: f.metaCache.Copy(),
friendDB: f.friendDB,
expireTime: f.expireTime,
}