From b95a4c61a5170f1f60d3fcfd666d0421a8bca025 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 20 May 2018 04:03:11 +0200 Subject: Reduce the hack listener to once a second --- tun_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tun_linux.go b/tun_linux.go index cd928db..2782260 100644 --- a/tun_linux.go +++ b/tun_linux.go @@ -65,7 +65,7 @@ func (tun *NativeTun) RoutineHackListener() { return } select { - case <-time.After(time.Second / 10): + case <-time.After(time.Second): case <-tun.statusListenersShutdown: return } -- cgit v1.2.3