Skip to content

Conversation

@axshani
Copy link
Contributor

@axshani axshani commented Jul 31, 2022

#133 - https://docs.unit.co/#retries
added backoff library to perform retry on requests when needed

the default retries is 0

@axshani axshani marked this pull request as ready for review July 31, 2022 09:24
Copy link
Collaborator

@chita13 chita13 left a comment

Choose a reason for hiding this comment

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

Open issues:

  1. how to test it, let's investigate a little bit on how we can mock the response in order to check the retry mechanism.. I used in the past this but let's check what works for us :)
  2. idempotency issue - I will return to you about it

- added post_create function
for create requests with idempotency_key
- backoff_idempotency_key_handler
@chita13 chita13 merged commit 26f440f into master Oct 2, 2022
@chita13 chita13 deleted the retry-requests branch October 2, 2022 11:32
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.

3 participants