Closed OttoAllmendinger closed 5 years ago
Parsing a block can take long enough to stall the queue and introduce an error in the collected timestamps. This change moves the message parsing into a dedicated goroutine.
Also make some provisions for parse errors.
actually this has a (classic) bug: https://github.com/golang/go/wiki/CommonMistakes#using-goroutines-on-loop-iterator-variables
no it doesn't
@0xB10C see latest commit
Parsing a block can take long enough to stall the queue and introduce an error in the collected timestamps. This change moves the message parsing into a dedicated goroutine.
Also make some provisions for parse errors.