优化代码

This commit is contained in:
刘祥超
2022-10-20 22:59:17 +08:00
parent e5315c3b8d
commit 292fb72a26

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