We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e4780b commit e052125Copy full SHA for e052125
1 file changed
src/main/java/io/weaviate/client6/v1/api/collections/batch/BatchContext.java
@@ -643,10 +643,7 @@ private void trySend() {
643
awaitState(State::canPrepareNext, "can prepare next");
644
645
while (!Thread.currentThread().isInterrupted()) {
646
- // TODO(dyma): this check is redundant, send will only send while batch is full;
647
- if (batch.isFull()) {
648
- send();
649
- }
+ send(); // Only sends if the batch is full.
650
651
TaskHandle task = queue.take();
652
0 commit comments