Skip to content

Commit

Permalink
bring back E2E finish signaller
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeph Grunschlag committed Jul 28, 2023
1 parent 579f2e4 commit 94b7bd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conduit/pipeline/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,9 @@ func (p *pipelineImpl) ExporterHandler(exporter exporters.Exporter, blkChan <-ch
}
}
lastError = nil
// WARNING: removing the following will BREAK the E2E test.
// Modify with CAUTION. (Search for "Pipeline round:" in subslurp.py)
p.logger.Infof("FINISHED Pipeline round: %v", p.pipelineMetadata.NextRound)
}
}
}()
Expand Down Expand Up @@ -650,6 +653,7 @@ func (p *pipelineImpl) Start() {
defer p.logger.Debugf("round channel feed exiting. lastRnd=%d totalFeedWait=%dms", rnd, totalFeedWait.Milliseconds())
for {
selectStart := time.Now()
p.logger.Infof("Pipeline round kickoff: %v", rnd)
p.logger.Tracef("pushing round %d into roundChan", rnd)
select {
case <-p.ctx.Done():
Expand Down

0 comments on commit 94b7bd8

Please sign in to comment.