Skip to content

Commit 6773990

Browse files
committed
fix waiting
1 parent ae2b924 commit 6773990

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pkg/estimator/profile.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,11 @@ func (p *Profiler) ReadPhysicalBlocks(ctx context.Context) error {
276276
return errors.Wrap(err, "failed to run")
277277
}
278278

279-
if err := cmd.Wait(); err != nil {
280-
return errors.Wrap(err, "failed to wait")
281-
}
279+
// if err := cmd.Wait(); err != nil {
280+
// return errors.Wrap(err, "failed to wait")
281+
// }
282+
283+
<-p.exitChan
282284

283285
log.Dbg("End read physical")
284286

0 commit comments

Comments
 (0)