Merge pull request #46 from mdr0id/remove_go_routine_db_write

Remove go routine that causes threading issues when writing to local db
This commit is contained in:
str4d 2019-06-11 16:28:23 +01:00 committed by GitHub
commit f2aacce0ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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{