Skip to content

Commit 588e967

Browse files
batching: removed superfluous comments
1 parent 3a7aa69 commit 588e967

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

batcher/batcher.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ func New(maxTime time.Duration, maxItems, maxBytes, queueLen uint, calculate Cal
6464

6565
// Put adds items to the batcher.
6666
func (b *basicBatcher) Put(item interface{}) error {
67-
// TODO make this non-blocking and drop if batchChan is full?
68-
// TODO Should there be a length check here and return an error if that happens without trying to add?
69-
7067
b.lock.Lock()
7168
if b.disposed {
7269
b.lock.Unlock()

0 commit comments

Comments
 (0)