mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
e881c1caec
This simplifies some netmon code in prep for other changes. It breaks up Monitor.debounce into a helper method so locking is easier to read and things unindent, and then it simplifies the polling netmon implementation to remove the redundant stuff that the caller (the Monitor.debounce loop) was already basically doing. Updates #9040 Change-Id: Idcfb45201d00ae64017042a7bdee6ef86ad37a9f Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> |
||
---|---|---|
.. | ||
netmon_darwin_test.go | ||
netmon_darwin.go | ||
netmon_freebsd.go | ||
netmon_linux_test.go | ||
netmon_linux.go | ||
netmon_polling.go | ||
netmon_test.go | ||
netmon_windows.go | ||
netmon.go | ||
polling.go |