优化代码

This commit is contained in:
GoEdgeLab
2022-10-20 22:59:17 +08:00
parent f5a62b80de
commit 648a9497d4

View File

@@ -32,7 +32,6 @@ type recordList struct {
var sharedDomainRecordsCache = NewDomainRecordsCache()
// DomainRecordsCache 域名记录缓存
// TODO 自动清理没有使用的域名记录,以节约内存
type DomainRecordsCache struct {
domainRecordsMap map[string]*recordList // domain@providerId => record
locker sync.Mutex