Skip to content

Commit 6b55856

Browse files
committed
fix race
1 parent 6c893e7 commit 6b55856

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

writers/streamingbatchwriter/streamingbatchwriter.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ func (s *streamingWorkerManager[T]) send(ctx context.Context, data T) {
425425
if s.inputCh == ch { // only close if we're still the active channel
426426
close(s.inputCh)
427427
s.inputCh = nil
428-
s.limit.Reset()
429428
}
430429
}()
431430

0 commit comments

Comments
 (0)