Skip to content

Commit

Permalink
fix stats
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Oct 2, 2023
1 parent 75a0f65 commit 804b654
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions accountresolver/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,10 @@ func (f *mergeBlocksFile) process(ctx context.Context, sourceStore dstore.Store,

func (p *Processor) processMergeBlocksFiles(ctx context.Context, mergeBlocksFileChan chan *mergeBlocksFile, destinationStore dstore.Store, encoder firecore.BlockEncoder) error {

p.stats = &stats{
startProcessing: time.Now(),
}

for mbf := range mergeBlocksFileChan {
p.stats = &stats{
startProcessing: time.Now(),
}
p.logger.Info("Receive merge block file", zap.String("filename", mbf.filename))
bundleReader := NewBundleReader(ctx, p.logger)

Expand Down

0 comments on commit 804b654

Please sign in to comment.