lib/ezid/requests/request.rb in ezid-client-1.9.0 vs lib/ezid/requests/request.rb in ezid-client-1.9.1
- old
+ new
@@ -52,10 +52,10 @@
retries = 0
begin
response_class.new(get_response_for_request)
rescue Net::HTTPServerException, UnexpectedResponseError => e
if retries < 2
- sleep 15
+ sleep client.config.retry_interval
retries += 1
retry
else
raise
end