Skip to content

Commit

Permalink
Setting pdc to the newest rails-health-check with collection checking (
Browse files Browse the repository at this point in the history
…#671)

fixes #669
  • Loading branch information
carolyncole authored Aug 22, 2024
1 parent bad30a1 commit 23aa58b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ gem 'bootstrap', '~> 4.0'
gem 'devise'
gem 'devise-guests', '~> 0.6'
gem 'faraday_middleware'
gem "health-monitor-rails"
gem 'health-monitor-rails'
gem 'honeybadger'
gem 'httparty'
gem 'jbuilder', '~> 2.7'
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ GEM
coderay (1.1.3)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
coveralls_reborn (0.28.0)
simplecov (~> 0.22.0)
term-ansicolor (~> 1.7)
Expand Down Expand Up @@ -227,7 +227,7 @@ GEM
activesupport (>= 6.1)
hashdiff (1.1.0)
hashie (5.0.0)
health-monitor-rails (12.2.0)
health-monitor-rails (12.3.0)
railties (>= 6.1)
honeybadger (5.11.1)
http (5.2.0)
Expand Down Expand Up @@ -293,7 +293,7 @@ GEM
matrix (0.4.2)
method_source (1.1.0)
mini_mime (1.1.5)
minitest (5.24.1)
minitest (5.25.1)
mize (0.5.0)
msgpack (1.7.2)
multi_xml (0.7.1)
Expand Down
1 change: 1 addition & 0 deletions config/initializers/health_monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

config.solr.configure do |c|
c.url = Blacklight.default_index.connection.uri.to_s
c.collection = Blacklight.default_index.connection.uri.path.split("/").last
end

# Make this health check available at /health
Expand Down

0 comments on commit 23aa58b

Please sign in to comment.