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…
	
		Reference in a new issue