mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-06 18:10:26 +08:00
修复从本地数据库中的第一次加载的IP可能不起作用的问题
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user