Skip to content

Commit

Permalink
Export without pool
Browse files Browse the repository at this point in the history
  • Loading branch information
gzigzigzeo committed Jun 3, 2019
1 parent c25cdd1 commit d96759e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/ingest.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var (
current = getStartLedger()
)

// Starts ingestion
// Ingest Starts ingestion
func Ingest() {
log.Println("Starting ingest from", current.LedgerSeq)

Expand All @@ -27,7 +27,7 @@ func Ingest() {

es.MakeBulk(*current, txs, fees, &b)

pool.Submit(func() { index(&b, 0) }) // index defined in commands/export.go
index(&b, 0) // Defined in export.go

log.Println("Ledger", seq, "ingested.")

Expand Down

0 comments on commit d96759e

Please sign in to comment.