mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-05-19 19:55:18 +08:00
节点IP阈值增加节点健康检查失败
This commit is contained in:
@@ -177,6 +177,7 @@ func (this *ServerAddressGroup) MatchServerName(serverName string) *ServerConfig
|
||||
this.cacheLocker.Lock()
|
||||
|
||||
// 限制缓存的最大尺寸,防止内存耗尽
|
||||
// TODO 清理20%比较老的数据
|
||||
if this.countCacheDomains < 1_000_000 {
|
||||
domainMap, ok := this.cacheDomainMap[prefix]
|
||||
if ok {
|
||||
|
||||
Reference in New Issue
Block a user