Skip to content

Commit

Permalink
Rubocop fix and comment update
Browse files Browse the repository at this point in the history
  • Loading branch information
elohanlon committed Dec 21, 2023
1 parent 9ae0367 commit 01dbb2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion config/initializers/cookies_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion lib/hyacinth/utils/solr_utils.rb
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 01dbb2a

Please sign in to comment.