govuk_app_config 9.14.2 → 9.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb +8 -1
- data/lib/govuk_app_config/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c794459053cdaca477694dc0921363dd7d2f6bcbb7c100eab41a203fb2c76b24
|
|
4
|
+
data.tar.gz: 2b0f9f9cb226325b8e380d90b0b6c59e32d5e83bbfa755897483624dfd41d3fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5486eb87d435246696d342acb8c9659f902157c8376bfe3dbd730918da4afc9fc9b3dfed7f0c10998a4223056355801da465655683a7a8140421ee4b006df6e7
|
|
7
|
+
data.tar.gz: a874d4a2bcd324829d4cd8ecbd79e59581a995d585e18bf0c36847e61b82b4cf65c7ab96557720f97e844a36b7a378ced3c46757a6942fc16ae6734d8cdfafe0
|
data/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,14 @@ module GovukHealthcheck
|
|
|
5
5
|
end
|
|
6
6
|
|
|
7
7
|
def status
|
|
8
|
-
Sidekiq
|
|
8
|
+
# Sidekiq 7 introduced a default_configuration object which has .redis_info
|
|
9
|
+
# for querying Redis information. If the default_configuration object isn't present,
|
|
10
|
+
# we can fall back to the old method of querying it using 'Sidekiq.redis_info'.
|
|
11
|
+
if Sidekiq.respond_to?(:default_configuration)
|
|
12
|
+
Sidekiq.default_configuration.redis_info ? OK : CRITICAL
|
|
13
|
+
else
|
|
14
|
+
Sidekiq.redis_info ? OK : CRITICAL
|
|
15
|
+
end
|
|
9
16
|
rescue StandardError
|
|
10
17
|
# One would expect a Redis::BaseConnectionError, but this should be
|
|
11
18
|
# critical if any exception is raised when making a call to redis.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_app_config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 9.14.
|
|
4
|
+
version: 9.14.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstasher
|
|
@@ -395,7 +395,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
395
395
|
- !ruby/object:Gem::Version
|
|
396
396
|
version: '0'
|
|
397
397
|
requirements: []
|
|
398
|
-
rubygems_version: 3.5.
|
|
398
|
+
rubygems_version: 3.5.21
|
|
399
399
|
signing_key:
|
|
400
400
|
specification_version: 4
|
|
401
401
|
summary: Base configuration for GOV.UK applications
|