Skip to content

Commit 095bb02

Browse files
authored
fix(java): saveObjects always passing waitForTasks as false (#4460)
1 parent 3e54c8f commit 095bb02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/java/api_helpers.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ public <T> List<BatchResponse> saveObjects(String indexName, Iterable<T> objects
690690
* the transporter requestOptions. (optional)
691691
*/
692692
public <T> List<BatchResponse> saveObjects(String indexName, Iterable<T> objects, boolean waitForTasks, RequestOptions requestOptions) {
693-
return saveObjects(indexName, objects, false, 1000, requestOptions);
693+
return saveObjects(indexName, objects, waitForTasks, 1000, requestOptions);
694694
}
695695
696696
/**

0 commit comments

Comments
 (0)