mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-10-31 17:25:06 +03:00 
			
		
		
		
	start migrating the router to an actor
This commit is contained in:
		
							parent
							
								
									562a7d1f19
								
							
						
					
					
						commit
						9d7e7288c6
					
				
					 8 changed files with 51 additions and 54 deletions
				
			
		|  | @ -210,7 +210,7 @@ func (p *peer) linkLoop() { | |||
| 		case dinfo = <-p.dinfo: | ||||
| 		case _ = <-tick.C: | ||||
| 			if dinfo != nil { | ||||
| 				p.core.dht.peers <- dinfo | ||||
| 				p.core.router.insertPeer(&p.core.router, dinfo) | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Arceliar
						Arceliar