disable high queue usage, since it hurts small queues
This commit is contained in:
parent
d404fb8147
commit
e749e9ab47
4
main.go
4
main.go
|
@ -66,7 +66,7 @@ func (vx *vx46) forward46() error {
|
|||
for {
|
||||
n, err := vx.pc4.ReadBatch(msgs4[:], 0)
|
||||
if n > vx.buffers*3/4 {
|
||||
log.Printf("forward46: %d in", n)
|
||||
//log.Printf("forward46: %d in", n)
|
||||
}
|
||||
if err != nil {
|
||||
return err
|
||||
|
@ -126,7 +126,7 @@ func (vx *vx46) forward64() error {
|
|||
for {
|
||||
n, err := vx.pc6.ReadBatch(msgs6[:], 0)
|
||||
if n > vx.buffers*3/4 {
|
||||
log.Printf("forward64: %d in", n)
|
||||
//log.Printf("forward64: %d in", n)
|
||||
}
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue