Closed MMore closed 2 years ago
I am also facing the same issue. @MMore Do you manage it somehow?
You need to put Retry middleware before Timeout middleware.
@teamon thanks, It works.
@MMore feel free to reopen the issue if the solution that @teamon shared doesn't work
Hello,
love your library! I just wanted to add a retry for my existing API client using the Retry middleware. I expected it would retry on timeouts, but it does not. It returns
{:error, :timeout}
on a timeout, but retry isn't triggered. For other errors retry works as expected.That's basically my module:
The following versions I use:
Any ideas, what I could do? Thank you!