mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-10-31 01:05:08 +03:00 
			
		
		
		
	use smaller buffer sizes for buffered channels
This commit is contained in:
		
							parent
							
								
									80a45b3859
								
							
						
					
					
						commit
						63aadf6e88
					
				
					 4 changed files with 8 additions and 8 deletions
				
			
		|  | @ -167,7 +167,7 @@ func (iface *udpInterface) handleKeys(msg []byte, addr connAddr) { | |||
| 			peer:   iface.core.peers.newPeer(&ks.box, &ks.sig), | ||||
| 			linkIn: make(chan []byte, 1), | ||||
| 			keysIn: make(chan *udpKeys, 1), | ||||
| 			out:    make(chan []byte, 1024), | ||||
| 			out:    make(chan []byte, 32), | ||||
| 		} | ||||
| 		/* | ||||
| 		   conn.in = func (msg []byte) { conn.peer.handlePacket(msg, conn.linkIn) } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Arceliar
						Arceliar