修复从本地数据库中的第一次加载的IP可能不起作用的问题

This commit is contained in:
GoEdgeLab
2024-04-21 10:33:12 +08:00
parent 5d49b1a2fc
commit 5c1f9e23eb

View File

@@ -155,10 +155,10 @@ func (this *IPListManager) Init() {
if readErr != nil { if readErr != nil {
remotelogs.Error("IP_LIST_MANAGER", "read ip list from local database failed: "+readErr.Error()) remotelogs.Error("IP_LIST_MANAGER", "read ip list from local database failed: "+readErr.Error())
} else { } else {
this.processItems(items, false)
if !goNext { if !goNext {
break break
} }
this.processItems(items, false)
} }
offset += int64(l) offset += int64(l)
} }