From ed4591ecc4a1c28b21f4a6037817aaa0cf2db652 Mon Sep 17 00:00:00 2001 From: mdr0id Date: Mon, 10 Jun 2019 19:59:12 -0700 Subject: [PATCH] Remove go routine that causes threading issues when writing to local db --- cmd/ingest/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/ingest/main.go b/cmd/ingest/main.go index 0255b68..c3bf7e3 100644 --- a/cmd/ingest/main.go +++ b/cmd/ingest/main.go @@ -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{