good_job 3.16.0 → 3.16.1
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 +12 -0
- data/README.md +1 -1
- data/lib/good_job/notifier/process_heartbeat.rb +5 -3
- data/lib/good_job/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 364c1bd829e85f9b002b0265bf57b4e29b517ca314ed8335affab915320eb09c
|
|
4
|
+
data.tar.gz: 035dc69a55772e2516ac73783cec24bd47c1974a3ba3b3b8a568649985b9a37e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 124c045c8948530ba298410381bba29717de39b95b1b2fb53c06957c528c86bd84359fe14658b2b2bee84c31c0e83afb85194bca964f6255cc907cf95c72e5c3
|
|
7
|
+
data.tar.gz: da74da4e4a00efa81bc995339df665c2a400ac54377078694ba961f8f788c0635b53865b76fee479197e4e478d744888ef393565a854441da935622c5a74a34f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v3.16.1](https://github.com/bensheldon/good_job/tree/v3.16.1) (2023-07-11)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.16.0...v3.16.1)
|
|
6
|
+
|
|
7
|
+
**Fixed bugs:**
|
|
8
|
+
|
|
9
|
+
- Wrap Notifier's `refresh_process` with Rails executor [\#1007](https://github.com/bensheldon/good_job/pull/1007) ([bensheldon](https://github.com/bensheldon))
|
|
10
|
+
|
|
11
|
+
**Closed issues:**
|
|
12
|
+
|
|
13
|
+
- uninitialized constant GoodJob::Process [\#1006](https://github.com/bensheldon/good_job/issues/1006)
|
|
14
|
+
|
|
3
15
|
## [v3.16.0](https://github.com/bensheldon/good_job/tree/v3.16.0) (2023-07-10)
|
|
4
16
|
|
|
5
17
|
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.15.14...v3.16.0)
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# GoodJob
|
|
2
2
|
|
|
3
3
|
[](https://rubygems.org/gems/good_job)
|
|
4
|
-
[](https://github.com/bensheldon/good_job/actions/workflows/test.yml?query=branch%3Amain)
|
|
5
5
|
[](https://www.ruby-toolbox.com/projects/good_job)
|
|
6
6
|
|
|
7
7
|
GoodJob is a multithreaded, Postgres-based, ActiveJob backend for Ruby on Rails.
|
|
@@ -21,9 +21,11 @@ module GoodJob # :nodoc:
|
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
def refresh_process
|
|
24
|
-
|
|
25
|
-
Process.
|
|
26
|
-
|
|
24
|
+
Rails.application.executor.wrap do
|
|
25
|
+
GoodJob::Process.with_connection(connection) do
|
|
26
|
+
GoodJob::Process.logger.silence do
|
|
27
|
+
@process&.refresh_if_stale(cleanup: true)
|
|
28
|
+
end
|
|
27
29
|
end
|
|
28
30
|
end
|
|
29
31
|
end
|
data/lib/good_job/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: good_job
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.16.
|
|
4
|
+
version: 3.16.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ben Sheldon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-07-
|
|
11
|
+
date: 2023-07-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activejob
|