Browse Source

Merge pull request #46 from mdr0id/remove_go_routine_db_write

Remove go routine that causes threading issues when writing to local db
service_pr
str4d 5 years ago
committed by GitHub
parent
commit
f2aacce0ca
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      cmd/ingest/main.go

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

Loading…
Cancel
Save