You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Brad Fitzpatrick 383120c534 ipn/ipnlocal: don't run portlist code unless service collection is on
We were selectively uploading it, but we were still gathering it,
which can be a waste of CPU.

Also remove a bunch of complexity that I don't think matters anymore.

And add an envknob to force service collection off on a single node,
even if the tailnet policy permits it.

Fixes #13463

Change-Id: Ib6abe9e29d92df4ffa955225289f045eeeb279cf
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 weeks ago
..
conffile
ipnauth
ipnlocal
ipnserver
ipnstate
localapi
policy
store
backend.go
conf.go
doc.go
ipn_clone.go
ipn_test.go
ipn_view.go
prefs.go
prefs_test.go
serve.go
serve_test.go
store.go
store_test.go