diff options
| author | Percy Wegmann <percy@tailscale.com> | 2024-03-21 12:13:07 -0500 |
|---|---|---|
| committer | Percy Wegmann <percy@tailscale.com> | 2024-03-21 12:13:07 -0500 |
| commit | 8a4ce40ed0402d9624b75715227c00b0c0949777 (patch) | |
| tree | aa04c31b2ced83077ae8ea172bc78e48bf89ded2 | |
| parent | f5d79963ea81721daa207c9f52e8eca4230f5f58 (diff) | |
| download | tailscale-oxtoacart/golden_memory.tar.xz tailscale-oxtoacart/golden_memory.zip | |
GC before and after router configurationoxtoacart/golden_memory
Signed-off-by: Percy Wegmann <percy@tailscale.com>
| -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 47a892c11..500c40bd0 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -3615,7 +3615,9 @@ func (b *LocalBackend) authReconfig() { } oneCGNATRoute := shouldUseOneCGNATRoute(b.logf, b.sys.ControlKnobs(), version.OS()) + runtime.GC() rcfg := b.routerConfig(cfg, prefs, oneCGNATRoute) + runtime.GC() err = b.e.Reconfig(cfg, rcfg, dcfg) if err == wgengine.ErrNoChanges { |
