mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
doc: add info for forwarder option: priority
This commit is contained in:
1 parent
e82ea75cba
commit
4967f0bd36
4 files changed
+27
-4
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user