unexpected behavior ZIO retry #7657
Unanswered
fernanluyano
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following retrying logic to retry only when a http call gets a 429. The retry happens in an unintuitive way: instead of calling the whole retryableRequest functions, it only calls the mapResponse. Only
resp <- mapResponse(sttpResp, sttpResp.body.merge)
is being used in the for comprehension of the retryable function, which is the one capturing the failure from mapResponse. Is this a normal behavior?Beta Was this translation helpful? Give feedback.
All reactions