Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions cmd/monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,10 @@ func monitor(ctx context.Context) error {
}
}()

// Give time for the UI to attempt rendering.
time.Sleep(5 * time.Second)
if !isUiRendered {
// If UI cannot be rendered and returns, close the goroutine.
ctx.Done()
}
// Give time for goroutine to finish.
time.Sleep(1 * time.Second)
// Receive the errors from errChan and return to exit.
err = <-errChan
return err
Expand Down
Loading