more work-in-progress, debugging why things are dropping so often

This commit is contained in:
Arceliar
2020-05-16 18:56:04 -05:00
parent b17a035a05
commit 62b9fab5f8
3 changed files with 15 additions and 23 deletions

View File

@@ -311,12 +311,9 @@ func (p *peer) dropFromQueue(from phony.Actor, seq uint64) {
switch {
case seq != p.seq:
case p.queue.drop():
p.core.log.Debugln("DEBUG dropped:", p.port, p.queue.size)
p.intf.notifyQueued(p.seq)
}
if seq != p.seq {
return
}
})
}