Skip to content

Commit

Permalink
fix(java): saveObjects always passing waitForTasks as false (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4460

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Migliorin Francesco Antonio <28485612+Giglium@users.noreply.github.com>
  • Loading branch information
algolia-bot and Giglium committed Feb 15, 2025
1 parent 600c939 commit c0402b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6678,7 +6678,7 @@ public <T> List<BatchResponse> saveObjects(String indexName, Iterable<T> objects
* the transporter requestOptions. (optional)
*/
public <T> List<BatchResponse> saveObjects(String indexName, Iterable<T> objects, boolean waitForTasks, RequestOptions requestOptions) {
return saveObjects(indexName, objects, false, 1000, requestOptions);
return saveObjects(indexName, objects, waitForTasks, 1000, requestOptions);
}

/**
Expand Down

0 comments on commit c0402b6

Please sign in to comment.