mirror of
https://github.com/daeuniverse/dae.git
synced 2025-01-29 00:50:59 +07:00
chore
This commit is contained in:
parent
2107aead00
commit
55bd309b6b
@ -203,11 +203,12 @@ func (c *ControlPlane) handlePkt(data []byte, src, dst netip.AddrPort, outboundI
|
||||
continue
|
||||
}
|
||||
c.log.WithFields(logrus.Fields{
|
||||
"name": d.Name(),
|
||||
"latency": latency,
|
||||
"ver": ver,
|
||||
"proto": proto,
|
||||
"outbound": outbound.Name,
|
||||
}).Debugln("Choose")
|
||||
}).Debugln("Choice")
|
||||
if bestDialer == nil || latency < bestLatency {
|
||||
bestDialer = d
|
||||
bestLatency = latency
|
||||
|
@ -8,7 +8,7 @@ global {
|
||||
# Node connectivity check.
|
||||
# Url and dns should have both IPv4 and IPv6.
|
||||
tcp_check_url: 'http://cp.cloudflare.com'
|
||||
udp_check_dns: 'cloudflare-dns.com:53'
|
||||
udp_check_dns: 'dns.google:53'
|
||||
check_interval: 30s
|
||||
|
||||
# Value can be scheme://host:port or empty string ''.
|
||||
|
Loading…
Reference in New Issue
Block a user