Skip to content

How can i set retryStrategy in client config #3765

Discussion options

You must be logged in to vote

Hi @ZengTianShengZ, thanks for reaching out. If we review the code, which here is a good point to start, we can see that when you pass your custom retry strategy, but using our implementations (StandardRetryStrategy | AdaptiveRetryStrategy), you should consider the following parameters:

  • maxAttepsProvider: is the limit of attempts we will retry to execute the request.
  • options:
    • retryDecider: the logic that decides if a retry should happen or not. Here you can see the default retry decider logic, which we use if this parameter is not given.
    • delayDecider: the logic that decides the delay for each attempt. Here you can see the default delay decider logic, which we use if this parameter is no…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ZengTianShengZ
Comment options

@yenfryherrerafeliz
Comment options

Answer selected by ZengTianShengZ
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance General information and guidance, answers to FAQs, or recommended best practices/resources. response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
2 participants