mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
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:
parent
557c23517b
commit
7841c97af5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user