doc: add info for forwarder option: priority

This commit is contained in:
nadoo committed 2018-08-14 19:52:32 +08:00
1 parent e82ea75cba
commit 4967f0bd36
4 files changed
+27 -4

No files matched your search

+2 -2
View File
@@ -235,9 +235,9 @@ func (ha *haDialer) DialUDP(network, addr string) (pc net.PacketConn, writeTo ne
return d.DialUDP(network, addr)
}
// high availability forwarder
// latency based high availability forwarder
// 1. choose dialer whose priority is the highest
// 2. choose dialer whose letency it the lowest
// 2. choose dialer with the lowest latency
type lhaDialer struct {
*rrDialer
}