mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-30 23:51:03 +01:00 
			
		
		
		
	fix noise mapResponse updates, fixes #838
This commit is contained in:
		
							parent
							
								
									cfda804726
								
							
						
					
					
						commit
						21f0e089b6
					
				| @ -451,7 +451,7 @@ func (h *Headscale) pollNetMapStream( | ||||
| 					Time("last_successful_update", lastUpdate). | ||||
| 					Time("last_state_change", h.getLastStateChange(machine.Namespace)). | ||||
| 					Msgf("There has been updates since the last successful update to %s", machine.Hostname) | ||||
| 				data, err := h.getMapResponseData(mapRequest, machine, false) | ||||
| 				data, err := h.getMapResponseData(mapRequest, machine, isNoise) | ||||
| 				if err != nil { | ||||
| 					log.Error(). | ||||
| 						Str("handler", "PollNetMapStream"). | ||||
| @ -622,7 +622,7 @@ func (h *Headscale) scheduledPollWorker( | ||||
| 	defer closeChanWithLog( | ||||
| 		keepAliveChan, | ||||
| 		fmt.Sprint(ctx.Value(machineNameContextKey)), | ||||
| 		"updateChan", | ||||
| 		"keepAliveChan", | ||||
| 	) | ||||
| 
 | ||||
| 	for { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user