Skip to content

Commit

Permalink
cmd/analyzers: comment: Clarify analyzer sequencing
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjat committed Jun 22, 2024
1 parent f840d79 commit d297f45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,8 @@ func (a *Service) Start() {
}(an)
}

// Prepare slow-sync analyzers (to be started after fast-sync analyzers are done).
// Prepare non-fast-sync analyzers (= item analyzers, slow-sync block analyzers);
// they will be started after fast-sync analyzers are done.
var slowSyncWg sync.WaitGroup
for _, an := range a.analyzers {
slowSyncWg.Add(1)
Expand Down

0 comments on commit d297f45

Please sign in to comment.