fix wrong check on close
This commit is contained in:
parent
bb609f696f
commit
ba98b04081
|
@ -243,7 +243,6 @@ public class BulkProcessor {
|
|||
if (closed) {
|
||||
throw new ElasticSearchIllegalStateException("bulk process already closed");
|
||||
}
|
||||
this.closed = true;
|
||||
if (!isOverTheLimit()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue