Skip to content

Commit

Permalink
change log time to 5s
Browse files Browse the repository at this point in the history
  • Loading branch information
weiihann committed Oct 17, 2024
1 parent eb6fdfb commit d14bde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/juno/dbcmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func dbSize(cmd *cobra.Command, args []string) error {

totalItem.Add(size)

if time.Since(logged) > 10*time.Second {
if time.Since(logged) > 5*time.Second {
fmt.Fprintf(cmd.OutOrStdout(), "Processed %d items in %v\n", totalItem.Num, time.Since(start).Truncate(time.Second))
logged = time.Now()
}
Expand Down

0 comments on commit d14bde3

Please sign in to comment.