Skip to content

Commit

Permalink
enhance loggint and no limt errgroup
Browse files Browse the repository at this point in the history
Signed-off-by: Enrique Lacal <[email protected]>
  • Loading branch information
EnriqueL8 committed Apr 15, 2024
1 parent 5127400 commit 7905320
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/perf/perf.go
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ func (pr *perfRunner) batchEventLoop(nodeURL string, wsconn wsclient.WSClient) (
}

var g errgroup.Group
g.SetLimit(-1)

for _, event := range batch.Events {
g.Go(func() error {
Expand Down Expand Up @@ -1214,6 +1215,7 @@ func (pr *perfRunner) recordCompletedAction() {
}

func (pr *perfRunner) stopTrackingRequest(trackingID string) {
log.Debugf("Deleting tracking request: %s", trackingID)
pr.msgTimeMap.Delete(trackingID)
}

Expand Down

0 comments on commit 7905320

Please sign in to comment.