Always color output and fold settled values into constants
This commit is contained in:
@@ -28,7 +28,6 @@ type rxWorker struct {
|
||||
fd int
|
||||
batch int
|
||||
cpu int
|
||||
verify bool
|
||||
spec *frameSpec
|
||||
stats *rxStats
|
||||
streams []streamState
|
||||
@@ -79,9 +78,6 @@ func (w *rxWorker) run(done *atomic.Bool) {
|
||||
}
|
||||
}
|
||||
|
||||
if !w.verify {
|
||||
continue
|
||||
}
|
||||
if p.payLen > len(w.spec.ref) {
|
||||
w.stats.badLen.Add(1)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user