From 01dbb2a2e3995fa802d7067d36d1efef3d061a65 Mon Sep 17 00:00:00 2001 From: Eric O Date: Thu, 21 Dec 2023 16:12:48 -0500 Subject: [PATCH] Rubocop fix and comment update --- config/initializers/cookies_serializer.rb | 1 - lib/hyacinth/utils/solr_utils.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb index c4e18c950..1694f116b 100644 --- a/config/initializers/cookies_serializer.rb +++ b/config/initializers/cookies_serializer.rb @@ -5,4 +5,3 @@ # TODO: Change the value below to :json once all login sessions from the Rails 4 version have been invalidated Rails.application.config.action_dispatch.cookies_serializer = :hybrid - diff --git a/lib/hyacinth/utils/solr_utils.rb b/lib/hyacinth/utils/solr_utils.rb index cc2167d17..453755fc2 100644 --- a/lib/hyacinth/utils/solr_utils.rb +++ b/lib/hyacinth/utils/solr_utils.rb @@ -1,7 +1,7 @@ class Hyacinth::Utils::SolrUtils # TODO: Maybe change this to a solr connection pool (like in uri_service gem) def self.solr - # If you need to change the read/open timeouts for solr: RSolr.connect({:read_timeout => 120, :open_timeout => 120}) + # If you need to change the read/open timeouts for solr: RSolr.connect({:timeout => 120, :open_timeout => 120}) @solr ||= RSolr.connect(url: HYACINTH[:solr_url]) end