govuk_sidekiq 7.1.5 → 8.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37e1b4443ada727b6ee8f6b82d2a9375121fc5a789ae59415c85f3e62cbfdf70
4
- data.tar.gz: c023e94b7a2822f8d108a22c4857400e343b08bf7952006b8807d91495d4981b
3
+ metadata.gz: d7b4ab2c71b0c6f3a467cfe76ec1e7308326d944c6567ecfbeecc7b602e42b65
4
+ data.tar.gz: 212e668881f3a9c0f312e6b12ae5fd635cfd6a9e25e2d0f64a974ca99e06b5a3
5
5
  SHA512:
6
- metadata.gz: 277e5ed5bcb3eada95eb3507d1199d8a5fecaa42531a90d61585b4cc16caacf438980b20d7532a614c3125f76b97c353b963e1578293296e0f7127f29bc659f0
7
- data.tar.gz: fe419c8990f88ca5dd8c5b5d603970e0839939562970e901c437996b0fb4d8df01acdbfa854c5b4365ea32853a932e8f0d0bf0cb036417583172caf5f3870555
6
+ metadata.gz: 2e9f0e736b6e4ec68943af328749c6db2c105a25d1cdc64b0c1282ecdbbd3813f91b5fe8ee685a568aa32cf9364c674a56b480c0c815f5d678f62207682290df
7
+ data.tar.gz: ee5fa55517ffe8d6f9059479878dcfab062a819f12023c4f495d630966abbc36b2358cf03140973924ed163c43be4830c5395e9f925b98a1230a7fd135033af5
@@ -7,9 +7,9 @@ module GovukSidekiq
7
7
  hash = {
8
8
  "@timestamp": time.utc.iso8601(3),
9
9
  pid: ::Process.pid,
10
- tid: tid,
10
+ tid:,
11
11
  level: severity,
12
- message: message,
12
+ message:,
13
13
  tags: %w[sidekiq],
14
14
  }
15
15
  ctx.each { |key, value| hash[key] = value unless hash[key] }
@@ -7,7 +7,9 @@ module GovukSidekiq
7
7
  def self.setup_sidekiq(govuk_app_name, redis_config = {})
8
8
  redis_config = redis_config.merge(
9
9
  namespace: govuk_app_name,
10
- reconnect_attempts: 1,
10
+ reconnect_attempts: 4,
11
+ reconnect_delay: 15,
12
+ reconnect_delay_max: 60,
11
13
  )
12
14
 
13
15
  Sidekiq.configure_server do |config|
@@ -1,3 +1,3 @@
1
1
  module GovukSidekiq
2
- VERSION = "7.1.5".freeze
2
+ VERSION = "8.0.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.5
4
+ version: 8.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-29 00:00:00.000000000 Z
11
+ date: 2024-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gds-api-adapters
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: redis
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: '5'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "<"
53
+ - !ruby/object:Gem::Version
54
+ version: '5'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: redis-namespace
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -134,14 +148,14 @@ dependencies:
134
148
  requirements:
135
149
  - - '='
136
150
  - !ruby/object:Gem::Version
137
- version: 4.12.0
151
+ version: 4.18.0
138
152
  type: :development
139
153
  prerelease: false
140
154
  version_requirements: !ruby/object:Gem::Requirement
141
155
  requirements:
142
156
  - - '='
143
157
  - !ruby/object:Gem::Version
144
- version: 4.12.0
158
+ version: 4.18.0
145
159
  description:
146
160
  email:
147
161
  - govuk-dev@digital.cabinet-office.gov.uk
@@ -170,14 +184,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
170
184
  requirements:
171
185
  - - ">="
172
186
  - !ruby/object:Gem::Version
173
- version: '3.0'
187
+ version: 3.1.4
174
188
  required_rubygems_version: !ruby/object:Gem::Requirement
175
189
  requirements:
176
190
  - - ">="
177
191
  - !ruby/object:Gem::Version
178
192
  version: '0'
179
193
  requirements: []
180
- rubygems_version: 3.4.22
194
+ rubygems_version: 3.5.11
181
195
  signing_key:
182
196
  specification_version: 4
183
197
  summary: Provides standard setup and behaviour for Sidekiq in GOV.UK applications.