lib/harvestdor-indexer.rb in harvestdor-indexer-1.0.3 vs lib/harvestdor-indexer.rb in harvestdor-indexer-1.0.4

- old
+ new

@@ -35,10 +35,11 @@ @yml_path = yml_path config.configure(YAML.load_file(yml_path)) if yml_path config.configure options yield(config) if block_given? @client_config = YAML.load_file(client_config_path) if client_config_path && File.exists?(client_config_path) - @dor_fetcher_client=DorFetcher::Client.new({:service_url => client_config["dor_fetcher_service_url"]}) + # Adding skip_heartbeat param for easier testing + @dor_fetcher_client=DorFetcher::Client.new({:service_url => client_config["dor_fetcher_service_url"], :skip_heartbeat => true}) end # to allow class level access to config variables for record_merger and solr_doc_builder # (rather than passing a lot of params to constructor) def self.config