diff options
| author | Andrew Dunham <andrew@du.nham.ca> | 2024-05-14 12:28:01 -0400 |
|---|---|---|
| committer | Andrew Dunham <andrew@du.nham.ca> | 2024-05-14 11:05:11 -0600 |
| commit | c6d42b10936d6b5d7729a2171b8ec98813bc2bc8 (patch) | |
| tree | 17926da2f92703b1b6592292e39a8fe0f59226bc /control/controlknobs | |
| parent | 7ef2f7213528d388c3e40bfbd1da0fa9bd32a58f (diff) | |
| download | tailscale-c6d42b10936d6b5d7729a2171b8ec98813bc2bc8.tar.xz tailscale-c6d42b10936d6b5d7729a2171b8ec98813bc2bc8.zip | |
derp: remove stats goroutine, use a timer
Without changing behaviour, don't create a goroutine per connection that
sits and sleeps, but rather use a timer that wakes up and gathers
statistics on a regular basis.
Fixes #12127
Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ibc486447e403070bdc3c2cd8ae340e7d02854f21
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions
