mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-06 06:07:30 +00:00
chore: update geo in a batch
This commit is contained in:
@@ -209,8 +209,11 @@ func LoadGeoIPMatcher(country string) (router.IPMatcher, error) {
|
||||
return matcher, nil
|
||||
}
|
||||
|
||||
func ClearCache() {
|
||||
func ClearGeoSiteCache() {
|
||||
loadGeoSiteMatcherListSF.Reset()
|
||||
loadGeoSiteMatcherSF.Reset()
|
||||
}
|
||||
|
||||
func ClearGeoIPCache() {
|
||||
loadGeoIPMatcherSF.Reset()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user