diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-07-10 13:15:17 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-07-10 13:15:17 +0200 |
commit | 11eb477e73ccda3e84e46c53324c46ded0b4a840 (patch) | |
tree | 99ece4cd23ff956943dbe35a42eed59749c0ae57 /skate/zipkey | |
parent | 7db9f87f5ab9539cae6ee5c6fe3d18d94c0ae5d8 (diff) | |
download | refcat-11eb477e73ccda3e84e46c53324c46ded0b4a840.tar.gz refcat-11eb477e73ccda3e84e46c53324c46ded0b4a840.zip |
batch: drop logging
Diffstat (limited to 'skate/zipkey')
-rw-r--r-- | skate/zipkey/batch.go | 4 |
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 |