mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	re-enable a minimum queue size of ~1 big packet
This commit is contained in:
		
							parent
							
								
									0dcc555eab
								
							
						
					
					
						commit
						6e92af1cd2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -310,7 +310,7 @@ func (p *peer) dropFromQueue(from phony.Actor, seq uint64) {
 | 
				
			||||||
	p.Act(from, func() {
 | 
						p.Act(from, func() {
 | 
				
			||||||
		switch {
 | 
							switch {
 | 
				
			||||||
		case seq != p.seq:
 | 
							case seq != p.seq:
 | 
				
			||||||
			//case p.queue.size < streamMsgSize:
 | 
							case p.queue.size < streamMsgSize:
 | 
				
			||||||
		case p.queue.drop():
 | 
							case p.queue.drop():
 | 
				
			||||||
			p.core.log.Debugln("DEBUG dropped:", p.port, p.queue.size)
 | 
								p.core.log.Debugln("DEBUG dropped:", p.port, p.queue.size)
 | 
				
			||||||
			p.intf.notifyQueued(p.seq)
 | 
								p.intf.notifyQueued(p.seq)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue