diff options
| author | Alex Chan <alexc@tailscale.com> | 2025-11-24 12:39:03 +0000 |
|---|---|---|
| committer | Alex Chan <alexc@tailscale.com> | 2025-11-24 12:39:03 +0000 |
| commit | 24d56934a0db39c4def08ad7f07b401db1b08992 (patch) | |
| tree | bf25af9d634fcb1032253ea51bcbecb84f32f6a6 | |
| parent | a20cdb5c938204d45502d4c52fafc8ad0b0afed9 (diff) | |
| download | tailscale-alexc/better-localbackend-logging.tar.xz tailscale-alexc/better-localbackend-logging.zip | |
log if/when we pausedalexc/better-localbackend-logging
Change-Id: Ife78dcb996cc0dde3b3303fa0b816d0893a3a7e1
| -rw-r--r-- | ipn/ipnlocal/local.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 72b230327..865f7c41a 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -937,6 +937,8 @@ func (b *LocalBackend) pauseOrResumeControlClientLocked() { prefs := b.pm.CurrentPrefs() pauseForSyncPref := prefs.Valid() && prefs.Sync().EqualBool(false) + b.logf("pauseForNetwork = %t, pauseForSyncPref = %t", pauseForNetwork, pauseForSyncPref) + b.cc.SetPaused(pauseForNetwork || pauseForSyncPref) } |
