Skip to content

Commit

Permalink
read batch from DS
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniRamirezM committed Jun 19, 2024
1 parent 74666a1 commit cd316e9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tools/datastreamer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -759,12 +759,9 @@ func decodeBatchL2Data(cliCtx *cli.Context) error {
log.Fatalf("failed to connect to data stream: %v", err)
}

log.Infof("Waiting for data stream...")

go func() {
// This becomes a timeout for the process
for {
time.Sleep(30 * time.Second) // nolint:gomnd
}()
}

return nil
}
Expand Down

0 comments on commit cd316e9

Please sign in to comment.