fix: resolve deadlock in cache eviction and improve GetBatch implementation

This commit is contained in:
withchao
2025-12-12 15:23:45 +08:00
parent 30fd83b726
commit ebda95fb11
5 changed files with 133 additions and 20 deletions
-4
View File
@@ -33,10 +33,6 @@ func InitLocalCache(localCache *config.LocalCache) {
Local config.CacheConfig
Keys []string
}{
{
Local: localCache.Auth,
Keys: []string{cachekey.UidPidToken},
},
{
Local: localCache.User,
Keys: []string{cachekey.UserInfoKey, cachekey.UserGlobalRecvMsgOptKey},