refactor: update logging levels and remove unused code

This commit is contained in:
krau
2024-11-09 11:00:49 +08:00
parent 71e5007228
commit 454d69c9d4
7 changed files with 5 additions and 63 deletions

View File

@@ -23,10 +23,6 @@ func initCache() {
Cache = &CommonCache{cache: freecache.NewCache(10 * 1024 * 1024)}
}
func GetCache() *CommonCache {
return Cache
}
func (c *CommonCache) Get(key string, value *types.File) error {
c.mu.RLock()
defer c.mu.RUnlock()