mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-16 14:06:54 +02:00
Reduce the hack listener to once a second
This commit is contained in:
parent
a5b3340e5b
commit
b95a4c61a5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue