inst-jobs 3.1.4 → 3.1.5
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5adf88a85cf490a4fee0b3e8b5234be47b0f70034f6a89489ace8a132c74886d
|
|
4
|
+
data.tar.gz: '07836a394917c38fcb1cba64a9a1988f3c949bb7e147247f759da8f860382a7f'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8fc62248de29a57be2044a0949299ac26475df434c4906f0786293bb07b3a7bf63fb1c2b79c3e230e992825984e76417eb9ad221a46bac5c78b92d305c2db638
|
|
7
|
+
data.tar.gz: 44a04dcfd05ecad3345bd9da25909711912edaaf16e9f6a502859765319de33e0a59ac840571b5f5e543b76ce40b43550ab9a750e56753c60c29886002894201
|
|
@@ -29,9 +29,9 @@ module Delayed
|
|
|
29
29
|
|
|
30
30
|
def self.reconnect!
|
|
31
31
|
if Rails.version < "6.1"
|
|
32
|
-
ActiveRecord::Base.connection_handler.clear_all_connections!
|
|
32
|
+
::ActiveRecord::Base.connection_handler.clear_all_connections!
|
|
33
33
|
else
|
|
34
|
-
ActiveRecord::Base.connection_handler.clear_all_connections!(nil)
|
|
34
|
+
::ActiveRecord::Base.connection_handler.clear_all_connections!(nil)
|
|
35
35
|
end
|
|
36
36
|
end
|
|
37
37
|
|
data/lib/delayed/version.rb
CHANGED
|
@@ -227,9 +227,9 @@ module Delayed
|
|
|
227
227
|
# otherwise just reconnect and let it retry
|
|
228
228
|
logger.warn("failed to unlock prefetched jobs - connection terminated; skipping for now")
|
|
229
229
|
if Rails.version < "6.1"
|
|
230
|
-
Delayed::Job.clear_all_connections!
|
|
230
|
+
::Delayed::Job.clear_all_connections!
|
|
231
231
|
else
|
|
232
|
-
Delayed::Job.clear_all_connections!(nil)
|
|
232
|
+
::Delayed::Job.clear_all_connections!(nil)
|
|
233
233
|
end
|
|
234
234
|
end
|
|
235
235
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inst-jobs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cody Cutrer
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2022-07-
|
|
13
|
+
date: 2022-07-07 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activerecord
|