lib/geonames_api/base.rb in geonames_api-0.1.1 vs lib/geonames_api/base.rb in geonames_api-0.1.2
- old
+ new
@@ -26,10 +26,9 @@
parse_response(response, params)
end
rescue Timeout => e
if retries_remaining > 0
retries_remaining -= 1
- puts "retrying!"
sleep rand * GeoNamesAPI.max_sleep_time_between_retries
retry
else
raise e
end