Remove go routine that causes threading issues when writing to local db
This commit is contained in:
parent
ce11c2107e
commit
ed4591ecc4
|
@ -157,8 +157,7 @@ func main() {
|
|||
switch string(topic) {
|
||||
|
||||
case opts.zmqTopic:
|
||||
// there's an implicit mutex here
|
||||
go handleBlock(db, sequence, body)
|
||||
handleBlock(db, sequence, body)
|
||||
|
||||
default:
|
||||
log.WithFields(logrus.Fields{
|
||||
|
|
Loading…
Reference in New Issue