From 7db9f87f5ab9539cae6ee5c6fe3d18d94c0ae5d8 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 10 Jul 2021 12:49:44 +0200 Subject: batch: log batch size --- skate/zipkey/batch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skate/zipkey') diff --git a/skate/zipkey/batch.go b/skate/zipkey/batch.go index ac7d462..f1e21fe 100644 --- a/skate/zipkey/batch.go +++ b/skate/zipkey/batch.go @@ -68,7 +68,7 @@ func (b *Batcher) GroupFunc(g *Group) error { oversized := len(g.G0) > maxGroupSize || len(g.G1) > maxGroupSize if len(b.batch) == b.Size || oversized { if oversized { - log.Printf("short circuiting large group (%d/%d)", len(g.G0), len(g.G1)) + log.Printf("short circuiting large group (g0=%d, g1=%d, b=%d)", len(g.G0), len(g.G1), len(b.batch)) } g := make([]*Group, len(b.batch)) copy(g, b.batch) -- cgit v1.2.3