lib/httpx/plugins/retries.rb in httpx-0.22.0 vs lib/httpx/plugins/retries.rb in httpx-0.22.1
- old
+ new
@@ -21,9 +21,10 @@
Errno::EINVAL,
Errno::ETIMEDOUT,
Parser::Error,
TLSError,
TimeoutError,
+ ConnectionError,
Connection::HTTP2::GoawayError,
].freeze
DEFAULT_JITTER = ->(interval) { interval * (0.5 * (1 + rand)) }
if ENV.key?("HTTPX_NO_JITTER")