From 11eb477e73ccda3e84e46c53324c46ded0b4a840 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 10 Jul 2021 13:15:17 +0200 Subject: batch: drop logging --- skate/zipkey/batch.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'skate') diff --git a/skate/zipkey/batch.go b/skate/zipkey/batch.go index f1e21fe..f8b945c 100644 --- a/skate/zipkey/batch.go +++ b/skate/zipkey/batch.go @@ -1,7 +1,6 @@ package zipkey import ( - "log" "runtime" "sync" ) @@ -67,9 +66,6 @@ func (b *Batcher) GroupFunc(g *Group) error { // curcuit on those. oversized := len(g.G0) > maxGroupSize || len(g.G1) > maxGroupSize if len(b.batch) == b.Size || oversized { - if oversized { - 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) b.queue <- g -- cgit v1.2.3