feat: 实现缓存清楚逻辑

This commit is contained in:
Argo-Lenovo 2022-01-29 14:34:00 +08:00
parent 5e136d1815
commit 92e3aa4c35
1 changed files with 2 additions and 2 deletions

View File

@ -71,9 +71,9 @@ class DefaultCacheManager : ICacheManager
{
Cache.Remove(key);
}
else
else if (Cache is MemoryCache c)
{
//Cache.Compact(100);
c.Compact(100);
}
}
}