Closed ViezeVingertjes closed 2 years ago
I ran into a few occasions where the API would throw an ServiceUnavailable at me and the application stopped. This seems to run stable when i request a large chunk of data.
Thanks for your contribution @ViezeVingertjes , this PR seems to be a very good addition. However, I believe when those transient errors happen, we should give the server some time to breathe. As a user we sure can wait couple of seconds to get our result. I'd say let's change the retry waiting coefficient to 5 or 7. Happy to merge it after that change. Thanks.
Added all transient failures to the Polly policy and shortened the retry delay period.