Closed d-tasaki closed 6 years ago
Closing it per the comment in PR #56.
Thanks for your reviewing. I fixed them. but.... I made a mistake. I met Faraday::Timeout, Errno::ETIMEDOUT. I made blind assumptions that rescue without arguments could not catch these exceptions like Timeout::Error. But, they are children of StandardError even Timeout::Error. (maybe.. I still wandering in Ruby 1.8 world...) So, there is another reason of failed to retry.
I will make another issue.Could you please ignore or reject this issue and the pull request.
I got a timeout exceptions for tcp connection, but never retry even if RetryPolicy enabled.
I think
Azure::Storage::Core::Filter::RetryPolicyFilter
ofazure-storage
gem has retry feature for timeout error (here). ButAzure::Core::Http::RetryPolicy
cannot rescue such asErrno::ETIMEDOUT
andTimeout::Error
because it rescues onlyStandardError
.