mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-01 02:46:20 +00:00
Show information about individual active queues
This commit is contained in:
@ -699,12 +699,12 @@ func (t *switchTable) doWorker() {
|
||||
if t.queues.size > t.queues.maxsize {
|
||||
t.queues.maxsize = t.queues.size
|
||||
}
|
||||
t.queues.bufs[streamID] = buf
|
||||
if !bufExists {
|
||||
if len(t.queues.bufs) > t.queues.maxbufs {
|
||||
t.queues.maxbufs = len(t.queues.bufs)
|
||||
}
|
||||
}
|
||||
t.queues.bufs[streamID] = buf
|
||||
t.queues.cleanup(t)
|
||||
}
|
||||
case port := <-t.idleIn:
|
||||
|
Reference in New Issue
Block a user