mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-23 18:15:24 +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() {
|
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…
Reference in New Issue
Block a user