lib/httpx/plugins/retries.rb in httpx-1.1.2 vs lib/httpx/plugins/retries.rb in httpx-1.1.3
- old
+ new
@@ -111,15 +111,13 @@
retry_start = Utils.now
log { "retrying after #{retry_after} secs..." }
pool.after(retry_after) do
log { "retrying (elapsed time: #{Utils.elapsed_time(retry_start)})!!" }
- connection = find_connection(request, connections, options)
- connection.send(request)
+ send_request(request, connections, options)
end
else
- connection = find_connection(request, connections, options)
- connection.send(request)
+ send_request(request, connections, options)
end
return
end
response