Skip to content

Commit

Permalink
Update current feature
Browse files Browse the repository at this point in the history
  • Loading branch information
fjammes committed Jan 22, 2024
1 parent 4a92779 commit 7f61553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/wait_topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ var waitTopicCmd = &cobra.Command{
cobra.CheckErr(err)
t := time.Now()
elapsed := t.Sub(start)
logger.Infof("%s Found topics: %s/%s", elapsed, topics, expected)
logger.Infof("%s Found topics: %s (%d/%d)", elapsed.Round(1), topics, len(topics), expected)
if len(topics) == expected {
allTopicsFound <- true
return
}
time.Sleep(time.Second * 5) // Adjust the sleep duration as needed
time.Sleep(time.Second * 10) // Adjust the sleep duration as needed
}
}()

Expand Down

0 comments on commit 7f61553

Please sign in to comment.