Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: HunDunDM <[email protected]>
  • Loading branch information
HunDunDM committed May 20, 2021
1 parent da66cb3 commit 6f74a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pd-heartbeat-bench/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ func (rs *Regions) send(storeID uint64, startNotifier chan report.Report, endNot
log.Fatal(err)
}

count := 0
for r := range startNotifier {
startTime := time.Now()
count := 0
for _, region := range rs.regions {
if region.Leader.StoreId != storeID {
continue
Expand Down

0 comments on commit 6f74a6b

Please sign in to comment.