Skip to content

Conversation

@Muetze42
Copy link
Owner

@Muetze42 Muetze42 commented Feb 7, 2026

  • Extend the HelloFreshClient::getRecipes method with a take parameter to allow dynamic batch sizes
  • Update FetchRecipePageJob to support custom take values or default to the Country model's take attribute
  • Increase FetchRecipePageJob::tries from 3 to 5 for improved retry handling
  • Introduce retry logic for server errors by progressively reducing the take value
  • Add new test cases to validate take functionality, error handling, and retry behavior

…control over API pagination

- Extend the `HelloFreshClient::getRecipes` method with a `take` parameter to allow dynamic batch sizes
- Update `FetchRecipePageJob` to support custom `take` values or default to the `Country` model's `take` attribute
- Increase `FetchRecipePageJob::tries` from 3 to 5 for improved retry handling
- Introduce retry logic for server errors by progressively reducing the `take` value
- Add new test cases to validate `take` functionality, error handling, and retry behavior
@Muetze42 Muetze42 merged commit aaa2b68 into main Feb 7, 2026
2 checks passed
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.

1 participant