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.
This commit is contained in:
Brad Fitzpatrick 2020-08-20 20:13:39 -07:00
parent 557c23517b
commit 7841c97af5

View File

@ -601,7 +601,7 @@ func forceFullWireguardConfig(numPeers int) bool {
if iOS && numPeers > 50 {
return false
}
return true
return false
}
// isTrimmablePeer reports whether p is a peer that we can trim out of the