mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-22 08:20:28 +00:00
re-enable a minimum queue size of ~1 big packet
This commit is contained in:
parent
0dcc555eab
commit
6e92af1cd2
@ -310,7 +310,7 @@ func (p *peer) dropFromQueue(from phony.Actor, seq uint64) {
|
||||
p.Act(from, func() {
|
||||
switch {
|
||||
case seq != p.seq:
|
||||
//case p.queue.size < streamMsgSize:
|
||||
case p.queue.size < streamMsgSize:
|
||||
case p.queue.drop():
|
||||
p.core.log.Debugln("DEBUG dropped:", p.port, p.queue.size)
|
||||
p.intf.notifyQueued(p.seq)
|
||||
|
Loading…
Reference in New Issue
Block a user