From 7111483fad67625b679e3f77ad5e3ec5e5e80971 Mon Sep 17 00:00:00 2001 From: Chris Colvard Date: Wed, 29 Nov 2023 11:58:57 -0500 Subject: [PATCH] Check sidekiq and redis status on about page --- Gemfile | 2 +- Gemfile.lock | 4 ++-- config/initializers/about_page.rb | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 3c903e8fac..c62041aeb0 100644 --- a/Gemfile +++ b/Gemfile @@ -49,7 +49,7 @@ gem 'active_annotations', '~> 0.4' gem 'activerecord-session_store', '>= 2.0.0' gem 'acts_as_list' gem 'api-pagination' -gem 'avalon-about', git: 'https://github.com/avalonmediasystem/avalon-about.git', tag: 'avalon-r6.4' +gem 'avalon-about', git: 'https://github.com/avalonmediasystem/avalon-about.git', ref: 'e8dc8df' #gem 'bootstrap-sass', '< 3.4.1' # Pin to less than 3.4.1 due to change in behavior with popovers gem 'bootstrap-toggle-rails' gem 'bootstrap_form' diff --git a/Gemfile.lock b/Gemfile.lock index e31a5b2fb7..7bb2b2c1de 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,8 +8,8 @@ GIT GIT remote: https://github.com/avalonmediasystem/avalon-about.git - revision: 8ae33197219cb6cb8b6fee1f616950c29f2b94ce - tag: avalon-r6.4 + revision: e8dc8df0e7576c95c71bce1280c1ecb787c28197 + ref: e8dc8df specs: avalon-about (0.1.0) about_page diff --git a/config/initializers/about_page.rb b/config/initializers/about_page.rb index 3d483abb57..0c9ce12558 100644 --- a/config/initializers/about_page.rb +++ b/config/initializers/about_page.rb @@ -11,6 +11,8 @@ config.database = Avalon::About::Database.new(User) config.mediainfo = Avalon::About::MediaInfo.new(:version => '>=0.7.59') config.streaming_server = Avalon::About::HLSServer.new(Settings.streaming.http_base) + config.sidekiq = Avalon::About::Sidekiq.new(numProcesses: 1) + config.redis = Avalon::About::Redis.new(Redis.new(Rails.application.config.cache_store[1])) config.git_log = AboutPage::GitLog.new(limit: 15) if Rails.env.development? config.dependencies = AboutPage::Dependencies.new end