更新 UpdateIP 注释
This commit is contained in:
parent
e1ca2d5a1c
commit
50a18daf05
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user