From 0efec72e4552a5a3a2ae64bb1f14018f141e26b0 Mon Sep 17 00:00:00 2001 From: Joe Lothan Date: Wed, 20 May 2026 10:17:35 -0400 Subject: [PATCH] print every 100 bundles --- pipeline/05_bundle_gen/main.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pipeline/05_bundle_gen/main.go b/pipeline/05_bundle_gen/main.go index 1ce9e84..613f00f 100644 --- a/pipeline/05_bundle_gen/main.go +++ b/pipeline/05_bundle_gen/main.go @@ -28,15 +28,15 @@ type Config struct { } type Stats struct { - TotalHosts int - HostsWithIcon int - HostsNoIcon int - BundlesCreated int - ConvertErrors atomic.Int64 - BundledWithIcon atomic.Int64 - BundledNoIcon atomic.Int64 - TotalBytes int64 - StartedAt time.Time + TotalHosts int + HostsWithIcon int + HostsNoIcon int + BundlesCreated int + ConvertErrors atomic.Int64 + BundledWithIcon atomic.Int64 + BundledNoIcon atomic.Int64 + TotalBytes int64 + StartedAt time.Time } func main() { @@ -230,7 +230,7 @@ func main() { n := bundlesCreated.Add(1) estimatedTotal := (totalHosts + cfg.EntriesPerBundle - 1) / cfg.EntriesPerBundle - if n%500 == 0 { + if n%100 == 0 { fmt.Printf(" %d/%d bundles\n", n, estimatedTotal) }