Skip to content

fix(java): saveObjects always passing waitForTasks as false #4460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 15, 2025
Merged

fix(java): saveObjects always passing waitForTasks as false #4460

merged 1 commit into from
Feb 15, 2025

Conversation

Giglium
Copy link
Contributor

@Giglium Giglium commented Feb 15, 2025

🧭 What and Why

The com.algolia.api.SearchClient#saveObjects(String, Iterable, boolean, RequestOptions) method takes the waitForTasks parameter, but it is ignored and always set to false.

🎟 JIRA Ticket:

Changes included:

  • Fixed the method by passing the waitForTasks parameter instead of hardcoding false

🧪 Test

@Giglium Giglium requested a review from a team as a code owner February 15, 2025 05:54
@Giglium Giglium requested review from millotp and shortcuts February 15, 2025 05:54
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohhhh great catch thanks!!

@shortcuts shortcuts merged commit 095bb02 into algolia:main Feb 15, 2025
13 of 15 checks passed
algolia-bot added a commit that referenced this pull request Feb 15, 2025
…generated) [skip ci]

Co-authored-by: Migliorin Francesco Antonio <[email protected]>
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants