Skip to content

Commit

Permalink
Start hammer after exit criteria established
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutchinson committed Aug 15, 2024
1 parent 8e9a51e commit ef846d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hammer/hammer.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ func main() {

gen := newLeafGenerator(tracker.LatestConsistent.Size, *leafMinSize, *dupChance)
hammer := NewHammer(&tracker, f.Fetch, w.Write, gen, ha.seqLeafChan, ha.errChan)
hammer.Run(ctx)

exitCode := 0
if *leafWriteGoal > 0 {
Expand Down Expand Up @@ -138,6 +137,7 @@ func main() {
}
}()
}
hammer.Run(ctx)

if *showUI {
c := newController(hammer, ha)
Expand Down

0 comments on commit ef846d9

Please sign in to comment.