aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-10 13:15:17 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-10 13:15:17 +0200
commit11eb477e73ccda3e84e46c53324c46ded0b4a840 (patch)
tree99ece4cd23ff956943dbe35a42eed59749c0ae57
parent7db9f87f5ab9539cae6ee5c6fe3d18d94c0ae5d8 (diff)
downloadrefcat-11eb477e73ccda3e84e46c53324c46ded0b4a840.tar.gz
refcat-11eb477e73ccda3e84e46c53324c46ded0b4a840.zip
batch: drop logging
-rw-r--r--skate/zipkey/batch.go4
1 files changed, 0 insertions, 4 deletions
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