mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-09-18 20:57:50 +02:00
Reduce the hack listener to once a second
This commit is contained in:
parent
a5b3340e5b
commit
b95a4c61a5
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user