mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-06 12:08:33 +00:00
fix: load-balance's touch not effected
This commit is contained in:
1 parent
bae61a8152
commit
a454a7f736
1 file changed
+1
-1
@@ -216,7 +216,7 @@ func strategyStickySessions() strategyFn {
|
||||
// Unwrap implements C.ProxyAdapter
|
||||
func (lb *LoadBalance) Unwrap(metadata *C.Metadata, touch bool) C.Proxy {
|
||||
proxies := lb.GetProxies(touch)
|
||||
return lb.strategyFn(proxies, metadata, true)
|
||||
return lb.strategyFn(proxies, metadata, touch)
|
||||
}
|
||||
|
||||
// MarshalJSON implements C.ProxyAdapter
|
||||
|
||||
Reference in new issue
Block a user