From 7841c97af5c147075dd8da92f4b9179a637473af Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 20 Aug 2020 20:13:39 -0700 Subject: [PATCH] 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. --- wgengine/userspace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/userspace.go b/wgengine/userspace.go index 7c099571c..c6aa2e915 100644 --- a/wgengine/userspace.go +++ b/wgengine/userspace.go @@ -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