mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-12 07:29:41 +08:00
refactor: update logging levels and remove unused code
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user