mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
feat: 优化 GeoIP 更新逻辑
This commit is contained in:
1 parent
251bc10af9
commit
5b5e006b97
8 files changed
+180
-79
No files matched your search
@@ -113,7 +113,7 @@ func DispatchTask(serviceSentinelDispatchBus <-chan model.Service) {
|
||||
}
|
||||
|
||||
func DispatchKeepalive() {
|
||||
singleton.Cron.AddFunc("@every 30s", func() {
|
||||
singleton.Cron.AddFunc("@every 20s", func() {
|
||||
singleton.SortedServerLock.RLock()
|
||||
defer singleton.SortedServerLock.RUnlock()
|
||||
for i := 0; i < len(singleton.SortedServerList); i++ {
|
||||
|
||||
Reference in new issue
Block a user