Chore: remove old cache implementation
This commit is contained in:
@ -78,7 +78,7 @@ func NewEnhancer(cfg Config) *ResolverEnhancer {
|
||||
|
||||
if cfg.EnhancedMode != C.DNSNormal {
|
||||
fakePool = cfg.Pool
|
||||
mapping = cache.NewLRUCache(cache.WithSize(4096), cache.WithStale(true))
|
||||
mapping = cache.New(cache.WithSize(4096), cache.WithStale(true))
|
||||
}
|
||||
|
||||
return &ResolverEnhancer{
|
||||
|
Reference in New Issue
Block a user