Skip to content

Conversation

louisfisch
Copy link
Contributor

🧭 What and Why

This PR adds the method setWaitTaskTimeBeforeRetry method for Search and Ingestion clients in PHP.

The PHP API client uses waitTaskTimeBeforeRetry in 2 classes Algolia\AlgoliaSearch\Api\SearchClient and #Algolia\AlgoliaSearch\Api\IngestionClient, and the default value is 5 s which can be too short for some implementation. Adding the setter method setWaitTaskTimeBeforeRetry allows the implementation to customize the value of waitTaskTimeBeforeRetry.

Changes included:

  • Adds the method setWaitTaskTimeBeforeRetry in PHP template client_config.mustache
@louisfisch louisfisch requested a review from a team as a code owner October 20, 2025 10:36
@Fluf22 Fluf22 merged commit 68bbcbb into algolia:main Oct 21, 2025
11 of 13 checks passed
algolia-bot added a commit that referenced this pull request Oct 21, 2025
…estion clients (#5514) (generated) [skip ci] Co-authored-by: Louis Fischer <louisfisch@users.noreply.github.com> Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Oct 21, 2025
…estion clients (generated) algolia/api-clients-automation#5514 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Louis Fischer <louisfisch@users.noreply.github.com> Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants