wgengine: make lazy wireguard on by default
It can still be explicitly enabled or disabled via the environment variable, then via control. But the default is to be lazy now.reviewable/pr701/r1
parent
557c23517b
commit
7841c97af5
|
@ -601,7 +601,7 @@ func forceFullWireguardConfig(numPeers int) bool {
|
||||||
if iOS && numPeers > 50 {
|
if iOS && numPeers > 50 {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
// isTrimmablePeer reports whether p is a peer that we can trim out of the
|
// isTrimmablePeer reports whether p is a peer that we can trim out of the
|
||||||
|
|
Loading…
Reference in New Issue