mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-10-20 23:29:30 +08:00
Reduce the hack listener to once a second
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user