tailscale/net/netcheck
Avery Pennarun 7cd9ff3dde net/netcheck: fix race condition initializting RegionLatency maps.
Under some conditions, code would try to look things up in the maps
before the first call to updateLatency. I don't see any reason to delay
initialization of the maps, so let's just init them right away when
creating the Report instance.

Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
2020-05-28 03:41:37 -04:00
..
netcheck_test.go net/netcheck: fix race condition initializting RegionLatency maps. 2020-05-28 03:41:37 -04:00
netcheck.go net/netcheck: fix race condition initializting RegionLatency maps. 2020-05-28 03:41:37 -04:00