mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-06 13:40:06 +00:00
更新 UpdateIP 注释
This commit is contained in:
@@ -51,7 +51,7 @@ var (
|
|||||||
httpClientV6 = utils.NewSingleStackHTTPClient(time.Second*20, time.Second*5, time.Second*10, true)
|
httpClientV6 = utils.NewSingleStackHTTPClient(time.Second*20, time.Second*5, time.Second*10, true)
|
||||||
)
|
)
|
||||||
|
|
||||||
// UpdateIP 每30分钟汇报一次IP地址信息
|
// UpdateIP 每30分钟更新一次IP地址与国家码的缓存
|
||||||
func UpdateIP() {
|
func UpdateIP() {
|
||||||
for {
|
for {
|
||||||
ipv4 := fetchGeoIP(geoIPApiList, false)
|
ipv4 := fetchGeoIP(geoIPApiList, false)
|
||||||
|
|||||||
Reference in New Issue
Block a user