diff --git a/app/lib/describe_indexer.rb b/app/lib/describe_indexer.rb index 4c0de763..ebc4c987 100644 --- a/app/lib/describe_indexer.rb +++ b/app/lib/describe_indexer.rb @@ -83,7 +83,8 @@ def rss_url_list # Parse the rss_url, get a JSON resource url for each item, convert it to XML, and pass it to traject def perform_indexing rss_url_list.each do |url| - resource_json = URI.open(url, read_timeout: 30).read + uri = URI.open(url, open_timeout: 60, read_timeout: 60) + resource_json = uri.read resource_xml = prep_for_indexing(resource_json) traject_indexer.process(resource_xml) Rails.logger.info "Successfully imported record from #{url}."